aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-08-08 17:30:37 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-08-08 17:30:37 +0000
commitc938e9b01dd1735e2cf1f55f65117f701de560cc (patch)
tree5c25ba497d5a2bb049b3c776c6951973a5e79970 /gdb/Makefile.in
parentc04898f807516f8361a4ec6f55b984bdf0955f7e (diff)
downloadgdb-c938e9b01dd1735e2cf1f55f65117f701de560cc.zip
gdb-c938e9b01dd1735e2cf1f55f65117f701de560cc.tar.gz
gdb-c938e9b01dd1735e2cf1f55f65117f701de560cc.tar.bz2
gdb/
2003-08-08 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in (FLAGS_TO_PASS): Add DESTDIR. (install-only): Support DESTDIR. (uninstall): Likewise. (install-gdbtk): Likewise. gdb/doc/ 2003-08-08 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in (install-info): Support DESTDIR. (install-html): Likewise. gdb/gdbserver/ 2003-08-08 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in (install-only): Create dest dir. Support DESTDIR. (uninstall): Support DESTDIR. mmalloc/ 2003-08-08 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in (install-info): Create dest dir. Support DESTDIR. (install): Likewise.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 3299c97..25d054e 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -430,6 +430,7 @@ FLAGS_TO_PASS = \
"datadir=$(datadir)" \
"includedir=$(includedir)" \
"against=$(against)" \
+ "DESTDIR=$(DESTDIR)" \
"AR=$(AR)" \
"AR_FLAGS=$(AR_FLAGS)" \
"CC=$(CC)" \
@@ -963,7 +964,7 @@ install-only: $(CONFIG_INSTALL)
else \
true ; \
fi ; \
- $(SHELL) $(srcdir)/../mkinstalldirs $(bindir) ; \
+ $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(bindir) ; \
$(INSTALL_PROGRAM) gdb$(EXEEXT) \
$(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) ; \
$(SHELL) $(srcdir)/../mkinstalldirs \
@@ -980,7 +981,8 @@ uninstall: force $(CONFIG_UNINSTALL)
else \
true ; \
fi ; \
- rm -f $(bindir)/$$transformed_name$(EXEEXT) $(man1dir)/$$transformed_name.1
+ rm -f $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) \
+ $(DESTDIR)$(man1dir)/$$transformed_name.1
@$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
# We do this by grepping through sources. If that turns out to be too slow,
@@ -2471,7 +2473,7 @@ install-gdbtk:
else \
true ; \
fi ; \
- $(SHELL) $(srcdir)/../mkinstalldirs $(bindir); \
+ $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(bindir); \
$(INSTALL_PROGRAM) insight$(EXEEXT) \
$(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) ; \
$(SHELL) $(srcdir)/../mkinstalldirs \