summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/readline/Makefile.in
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/readline/Makefile.in
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/readline/Makefile.in')
-rw-r--r--gnu/usr.bin/binutils/readline/Makefile.in20
1 files changed, 11 insertions, 9 deletions
diff --git a/gnu/usr.bin/binutils/readline/Makefile.in b/gnu/usr.bin/binutils/readline/Makefile.in
index 0362de2ab1e..ddc00106ffb 100644
--- a/gnu/usr.bin/binutils/readline/Makefile.in
+++ b/gnu/usr.bin/binutils/readline/Makefile.in
@@ -43,6 +43,8 @@ man9dir = $(mandir)/man9
infodir = $(prefix)/share/info
includedir = $(prefix)/include
+DESTDIR =
+
SHELL = /bin/sh
INSTALL = install -c
@@ -181,17 +183,17 @@ readline.tar.Z: readline.tar
compress -f readline.tar
install:
- $(INSTALL_DATA) libreadline.a $(libdir)/libreadline.a
- $(RANLIB) $(libdir)/libreadline.a
- $(INSTALL_DATA) $(srcdir)/readline.h $(includedir)/readline/readline.h
- $(INSTALL_DATA) $(srcdir)/keymaps.h $(includedir)/readline/keymaps.h
- $(INSTALL_DATA) $(srcdir)/chardefs.h $(includedir)/readline/chardefs.h
+ $(INSTALL_DATA) libreadline.a $(DESTDIR)$(libdir)/libreadline.a
+ $(RANLIB) $(DESTDIR)$(libdir)/libreadline.a
+ $(INSTALL_DATA) $(srcdir)/readline.h $(DESTDIR)$(includedir)/readline/readline.h
+ $(INSTALL_DATA) $(srcdir)/keymaps.h $(DESTDIR)$(includedir)/readline/keymaps.h
+ $(INSTALL_DATA) $(srcdir)/chardefs.h $(DESTDIR)$(includedir)/readline/chardefs.h
includes:
- $(INSTALL_FILE) $(srcdir)/readline.h $(includedir)/readline/readline.h
- $(INSTALL_FILE) $(srcdir)/keymaps.h $(includedir)/readline/keymaps.h
- $(INSTALL_FILE) $(srcdir)/chardefs.h $(includedir)/readline/chardefs.h
- $(INSTALL_FILE) $(srcdir)/history.h $(includedir)/readline/history.h
+ $(INSTALL_FILE) $(srcdir)/readline.h $(DESTDIR)$(includedir)/readline/readline.h
+ $(INSTALL_FILE) $(srcdir)/keymaps.h $(DESTDIR)$(includedir)/readline/keymaps.h
+ $(INSTALL_FILE) $(srcdir)/chardefs.h $(DESTDIR)$(includedir)/readline/chardefs.h
+ $(INSTALL_FILE) $(srcdir)/history.h $(DESTDIR)$(includedir)/readline/history.h
local-clean:
rm -f $(STAGESTUFF) *.a *.log *.cp *.tp *.vr *.fn