This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH]: honour DESTDIR
- From: "Federico G. Schwindt" <fgsch at olimpo dot com dot br>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 7 May 2002 15:47:45 -0300
- Subject: [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)