aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-01-02 20:51:02 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-01-02 20:51:02 +0000
commit6283f02c2574a0183da6f62c5884958d88e946bf (patch)
treecde07c90eef324f4e4a80eafe98d3821b1d8b6aa
parent4aa028aae0da5b25526825a7a6d14e982c0006a7 (diff)
downloadnewlib-6283f02c2574a0183da6f62c5884958d88e946bf.zip
newlib-6283f02c2574a0183da6f62c5884958d88e946bf.tar.gz
newlib-6283f02c2574a0183da6f62c5884958d88e946bf.tar.bz2
2003-01-02 H.J. Lu <hjl@gnu.org>
* Makefile.in (DESTDIR): New. (install-info): Use it.
-rw-r--r--etc/ChangeLog5
-rw-r--r--etc/Makefile.in8
2 files changed, 10 insertions, 3 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog
index debe735..9a1a67d 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-02 H.J. Lu <hjl@gnu.org>
+
+ * Makefile.in (DESTDIR): New.
+ (install-info): Use it.
+
2002-06-11 Nick Clifton <nickc@cambridge.redhat.com>
Import the following patches from the FSF GCC sources:
diff --git a/etc/Makefile.in b/etc/Makefile.in
index 2bc3457..63f7738 100644
--- a/etc/Makefile.in
+++ b/etc/Makefile.in
@@ -2,6 +2,8 @@
# Makefile.in for etc
#
+DESTDIR =
+
prefix = @prefix@
exec_prefix = @exec_prefix@
@@ -68,17 +70,17 @@ info:
done
install-info: info
- $(SHELL) $(srcdir)/../mkinstalldirs $(infodir)
+ $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(infodir)
if test ! -f standards.info; then cd $(srcdir); fi; \
if test -f standards.info; then \
for i in standards.info*; do \
- $(INSTALL_DATA) $$i $(infodir)/$$i; \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i; \
done; \
fi
if test ! -f configure.info; then cd $(srcdir); fi; \
if test -f configure.info; then \
for i in configure.info*; do \
- $(INSTALL_DATA) $$i $(infodir)/$$i; \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i; \
done; \
fi