2003-01-02 H.J. Lu <hjl@gnu.org>

* Makefile.in (DESTDIR): New.
	(install-info): Use it.
This commit is contained in:
H.J. Lu 2003-01-02 20:51:02 +00:00
parent 4aa028aae0
commit 6283f02c25
2 changed files with 10 additions and 3 deletions

View File

@ -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:

View File

@ -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