Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Fix Makefile.in in data-directory
@ 2010-10-20 12:09 Jie Zhang
  2010-10-20 20:13 ` Doug Evans
  0 siblings, 1 reply; 16+ messages in thread
From: Jie Zhang @ 2010-10-20 12:09 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]

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

[-- Attachment #2: gdb-fix-data-directory-Makefile.diff --]
[-- Type: text/x-patch, Size: 730 bytes --]


	* 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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-10-22  1:14 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-20 12:09 Fix Makefile.in in data-directory Jie Zhang
2010-10-20 20:13 ` Doug Evans
2010-10-21  0:10   ` Jie Zhang
2010-10-21  0:14     ` Pedro Alves
2010-10-21  0:17       ` Jie Zhang
2010-10-21  0:29         ` Pedro Alves
2010-10-21  2:15           ` Jie Zhang
2010-10-21  2:30             ` Doug Evans
2010-10-21  5:11               ` Jie Zhang
2010-10-21 21:06                 ` Doug Evans
2010-10-21 23:52                   ` Jie Zhang
2010-10-21 10:07               ` Pedro Alves
2010-10-21 14:46                 ` Joel Brobecker
2010-10-22  1:14                   ` Tom Tromey
2010-10-21 21:08                 ` Doug Evans
2010-10-22  1:11                 ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox