This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix in data-directory

The current install rule in the of data-directory uses recursive make but does not pass FLAGS_TO_PASS. This causes an issue when people try to override prefix with command line option "make install", i.e. data-directory will still be installed under the configure time prefix. This patch fixes it. OK?

Regards, -- Jie Zhang CodeSourcery
	* data-directory/ (install): Add dependency on
	install-only.  Delete code making it.

Index: data-directory/
RCS file: /cvs/src/src/gdb/data-directory/,v
retrieving revision 1.3
diff -u -p -r1.3
--- data-directory/	13 Oct 2010 20:08:44 -0000	1.3
+++ data-directory/	20 Oct 2010 11:54:39 -0000
@@ -145,8 +145,7 @@ uninstall-python:
 # time it takes for make to check that all is up to date.
 # install-only is intended to address that need.
 .PHONY: install
-install: all
-	$(MAKE) install-only
+install: all install-only
 .PHONY: install-only
 install-only: install-syscalls install-python

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]