From b0ff34ea24a7ed191fdf6bb0a1ed8a3fee69801d Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 2 Jan 2003 20:51:02 +0000 Subject: 2003-01-02 H.J. Lu * Makefile.in (DESTDIR): New. (install-info): Use it. --- etc/ChangeLog | 5 +++++ etc/Makefile.in | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'etc') diff --git a/etc/ChangeLog b/etc/ChangeLog index debe735ca99..9a1a67d2015 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -1,3 +1,8 @@ +2003-01-02 H.J. Lu + + * Makefile.in (DESTDIR): New. + (install-info): Use it. + 2002-06-11 Nick Clifton Import the following patches from the FSF GCC sources: diff --git a/etc/Makefile.in b/etc/Makefile.in index 2bc34574540..63f7738c64a 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 -- cgit v1.2.3-65-gdbad