summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/bfd
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2000-09-14 16:48:13 +0000
committerMarc Espie <espie@cvs.openbsd.org>2000-09-14 16:48:13 +0000
commit8ce033673d33e920011b569e6480ed55c1198664 (patch)
tree67e9d39851199d709418d9c6c0fdae6306020fd2 /gnu/usr.bin/binutils/bfd
parent3b4d789d9cb23fa717d5de4b79c043b463b303cd (diff)
Some installation problems: older gnu programs don't know about DESTDIR,
but we have a mix here -> convert the old ones to heed DESTDIR. Also, fix manpages installation in Makefile.bsd-wrapper (INSTALL_MAN setting that got lost, bad MANDIR, don't set MANDIR if PREFIX is the standard location)
Diffstat (limited to 'gnu/usr.bin/binutils/bfd')
-rw-r--r--gnu/usr.bin/binutils/bfd/Makefile.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/usr.bin/binutils/bfd/Makefile.in b/gnu/usr.bin/binutils/bfd/Makefile.in
index 83d5caa58d0..348a279279f 100644
--- a/gnu/usr.bin/binutils/bfd/Makefile.in
+++ b/gnu/usr.bin/binutils/bfd/Makefile.in
@@ -1079,10 +1079,10 @@ $(OPTIONAL_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
# 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