diff options
author | DJ Delorie <dj@redhat.com> | 2003-01-09 20:50:25 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2003-01-09 20:50:25 +0000 |
commit | 8ccfe116d0c9ec3afb1cff7f8d41512c8f63466e (patch) | |
tree | b399b8e7d6861079665de036b27c4cc5cd427c20 | |
parent | 5d68d1de45400056dceb95f4329669148a536a84 (diff) | |
download | newlib-8ccfe116d0c9ec3afb1cff7f8d41512c8f63466e.zip newlib-8ccfe116d0c9ec3afb1cff7f8d41512c8f63466e.tar.gz newlib-8ccfe116d0c9ec3afb1cff7f8d41512c8f63466e.tar.bz2 |
* Makefile.tpl (BASE_FLAGS_TO_PASS): Also pass DESTDIR.
(install-info, dir.info): Prepend $(DESTDIR) to $(infodir).
* Makefile.in: Regenerate.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Makefile.in | 5 | ||||
-rw-r--r-- | Makefile.tpl | 5 |
3 files changed, 12 insertions, 4 deletions
@@ -1,3 +1,9 @@ +2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de> + + * Makefile.tpl (BASE_FLAGS_TO_PASS): Also pass DESTDIR. + (install-info, dir.info): Prepend $(DESTDIR) to $(infodir). + * Makefile.in: Regenerate. + 2003-01-09 Alexandre Oliva <aoliva@redhat.com> * configure.in: Remove Makefile in build, host and target modules diff --git a/Makefile.in b/Makefile.in index 43fad1b..7acf526 100644 --- a/Makefile.in +++ b/Makefile.in @@ -385,6 +385,7 @@ BASE_FLAGS_TO_PASS = \ "CXXFLAGS=$(CXXFLAGS)" \ "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \ "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \ + "DESTDIR=$(DESTDIR)" \ "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \ "INSTALL=$(INSTALL)" \ "INSTALL_DATA=$(INSTALL_DATA)" \ @@ -1076,7 +1077,7 @@ do-info: maybe-all-texinfo install-info: do-install-info dir.info s=`cd $(srcdir); ${PWD}`; export s; \ if [ -f dir.info ] ; then \ - $(INSTALL_DATA) dir.info $(infodir)/dir.info ; \ + $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \ else true ; fi local-clean: @@ -1207,7 +1208,7 @@ installdirs: mkinstalldirs dir.info: do-install-info if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \ - $(srcdir)/texinfo/gen-info-dir $(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \ + $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \ mv -f dir.info.new dir.info ; \ else true ; \ fi diff --git a/Makefile.tpl b/Makefile.tpl index 8b66bb6..5e42382 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -388,6 +388,7 @@ BASE_FLAGS_TO_PASS = \ "CXXFLAGS=$(CXXFLAGS)" \ "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \ "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \ + "DESTDIR=$(DESTDIR)" \ "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \ "INSTALL=$(INSTALL)" \ "INSTALL_DATA=$(INSTALL_DATA)" \ @@ -633,7 +634,7 @@ do-info: maybe-all-texinfo install-info: do-install-info dir.info s=`cd $(srcdir); ${PWD}`; export s; \ if [ -f dir.info ] ; then \ - $(INSTALL_DATA) dir.info $(infodir)/dir.info ; \ + $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \ else true ; fi local-clean: @@ -764,7 +765,7 @@ installdirs: mkinstalldirs dir.info: do-install-info if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \ - $(srcdir)/texinfo/gen-info-dir $(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \ + $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \ mv -f dir.info.new dir.info ; \ else true ; \ fi |