diff options
author | DJ Delorie <dj@delorie.com> | 2003-01-09 20:50:25 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2003-01-09 20:50:25 +0000 |
commit | e7a670e512b0a4776dae801eebf82e7dc740c645 (patch) | |
tree | cd5050c90e63ff50559be3dfde745be7741a131b /Makefile.tpl | |
parent | 9341ca73ab2737236498950e6a57fda37ef87914 (diff) | |
download | gdb-e7a670e512b0a4776dae801eebf82e7dc740c645.tar.gz |
* Makefile.tpl (BASE_FLAGS_TO_PASS): Also pass DESTDIR.cagney-unwind-20030108-branchpoint
(install-info, dir.info): Prepend $(DESTDIR) to $(infodir).
* Makefile.in: Regenerate.
Diffstat (limited to 'Makefile.tpl')
-rw-r--r-- | Makefile.tpl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.tpl b/Makefile.tpl index 8b66bb6cbb4..5e423826cdd 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 |