This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Fix Makefile.in in data-directory
- From: Jie Zhang <jie at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 20 Oct 2010 20:09:25 +0800
- Subject: Fix Makefile.in in data-directory
The current install rule in the Makefile.in 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/Makefile.in (install): Add dependency on
install-only. Delete code making it.
Index: data-directory/Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/data-directory/Makefile.in,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile.in
--- data-directory/Makefile.in 13 Oct 2010 20:08:44 -0000 1.3
+++ data-directory/Makefile.in 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