This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
2.10.91: $(DESTDIR) ignored for BFD headers
- To: binutils at sourceware dot cygnus dot com
- Subject: 2.10.91: $(DESTDIR) ignored for BFD headers
- From: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>
- Date: Fri, 19 Jan 2001 20:53:12 +0100 (MET)
- Organization: Technical University of Gdansk
Hello,
Digged from my old patchpile due to the incoming 2.11 release...
BFD's Makefile still ignores the automake's standard DESTDIR variable for
local installation targets. I've already reported it including a fix
several months ago. Here is the proposed patch again.
bfd/ChangeLog:
2001-01-19 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* Makefile.am (install-data-local): Make use of $(DESTDIR).
* Makefile.in: Regenerate.
Maciej
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
binutils-2.9.4-bfd-headers.patch
diff -u --recursive --new-file binutils.macro/bfd/Makefile.am binutils/bfd/Makefile.am
--- binutils.macro/bfd/Makefile.am Thu May 27 21:42:07 1999
+++ binutils/bfd/Makefile.am Tue Jun 22 11:16:44 1999
@@ -509,10 +509,10 @@
# Install BFD include file, and others that it needs.
install-data-local: $(BFD_H)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(includedir)
- $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
- $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
- $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(includedir)/bfdlink.h
+ $(mkinstalldirs) $(DESTDIR)$(includedir)
+ $(INSTALL_DATA) $(BFD_H) $(DESTDIR)$(includedir)/bfd.h
+ $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(DESTDIR)$(includedir)/ansidecl.h
+ $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(DESTDIR)$(includedir)/bfdlink.h
# Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
.dep: dep.sed $(CFILES) $(HFILES) bfd.h