aboutsummaryrefslogtreecommitdiff
path: root/mmalloc
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 /mmalloc
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 'mmalloc')
-rw-r--r--mmalloc/ChangeLog5
-rw-r--r--mmalloc/Makefile.in8
2 files changed, 10 insertions, 3 deletions
diff --git a/mmalloc/ChangeLog b/mmalloc/ChangeLog
index a46ca36..a1e3ad0 100644
--- a/mmalloc/ChangeLog
+++ b/mmalloc/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ * Makefile.in (install-info): Create dest dir. Support DESTDIR.
+ (install): Likewise.
+
2002-11-28 Elena Zannoni <ezannoni@redhat.com>
* Makefile.in (install): Move install-info to here...
diff --git a/mmalloc/Makefile.in b/mmalloc/Makefile.in
index 06fbd9c..b05aea7 100644
--- a/mmalloc/Makefile.in
+++ b/mmalloc/Makefile.in
@@ -113,6 +113,7 @@ mmalloc.dvi: mmalloc.texi
rm -f mmalloc.?? mmalloc.??s mmalloc.log mmalloc.aux mmalloc.toc
install-info: info
+ $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(infodir)
@list='$(INFO_DEPS)'; \
for file in $$list; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
@@ -156,9 +157,10 @@ check: test1.c
# ./a.out
install: all install-info
- $(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB)n
- $(RANLIB) $(libdir)/$(TARGETLIB)n
- mv -f $(libdir)/$(TARGETLIB)n $(libdir)/$(TARGETLIB)
+ $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(libdir)
+ $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(TARGETLIB)n
+ $(RANLIB) $(DESTDIR)$(libdir)/$(TARGETLIB)n
+ mv -f $(DESTDIR)$(libdir)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(TARGETLIB)
uninstall: uninstall-info