This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

[PATCH]: honour DESTDIR



  DJ Delorie has asked me to fwd this diff. I've submited it to binutils
recently.  As per standard, honour DESTDIR.

  f.-


2002-05-07  Federico G. Schwindt <fgsch@olimpo.com.br>

        * Makefile.in: Honour DESTDIR.

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/Makefile.in,v
retrieving revision 1.51
diff -u -r1.51 Makefile.in
--- Makefile.in	30 Apr 2002 02:42:31 -0000	1.51
+++ Makefile.in	5 May 2002 03:49:42 -0000
@@ -1826,8 +1826,8 @@
 ### other supporting targets
 
 MAKEDIRS= \
-	$(prefix) \
-	$(exec_prefix)
+	$(DESTDIR)$(prefix) \
+	$(DESTDIR)$(exec_prefix)
 .PHONY: installdirs
 installdirs: mkinstalldirs
 	$(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)


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