aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/Makefile.in7
-rw-r--r--mmalloc/ChangeLog5
-rw-r--r--mmalloc/Makefile.in5
4 files changed, 22 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 25a1a88..1e00dca 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * Makefile.in (install-info): Run install-info on installed Info
+ files.
+
Fri May 12 20:18:04 2000 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.texinfo: Add Stan Shebs, et.al. as authors. Mention
diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in
index 57fac5c..a1d0ae2 100644
--- a/gdb/doc/Makefile.in
+++ b/gdb/doc/Makefile.in
@@ -117,6 +117,13 @@ install-info: info
for i in *.info* ; do \
$(INSTALL_DATA) $$i $(infodir)/$$i ; \
done
+ @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+ list='gdb.info gdbint.info stabs.info'; \
+ for file in $$list; do \
+ echo " install-info --info-dir=$(infodir) $(infodir)/$$file";\
+ install-info --info-dir=$(infodir) $(infodir)/$$file || :;\
+ done; \
+ else : ; fi
install-html: html
for i in *.html ; do \
diff --git a/mmalloc/ChangeLog b/mmalloc/ChangeLog
index 31df15f..20339a5 100644
--- a/mmalloc/ChangeLog
+++ b/mmalloc/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * Makefile.in (install-info): Make sure $(infodir) exists. Run
+ install-info program on the installed Info files.
+
2000-03-20 Eli Zaretskii <eliz@is.elta.co.il>
* Makefile.in (install): Append "n", not ".n" to libmmalloc.a,
diff --git a/mmalloc/Makefile.in b/mmalloc/Makefile.in
index 3c0c94e..cde3989 100644
--- a/mmalloc/Makefile.in
+++ b/mmalloc/Makefile.in
@@ -110,8 +110,13 @@ mmalloc.dvi: mmalloc.texi
rm -f mmalloc.?? mmalloc.??s mmalloc.log mmalloc.aux mmalloc.toc
install-info: info
+ $(SHELL) $(srcdir)/../mkinstalldirs $(infodir)
if test ! -f mmalloc.info ; then cd $(srcdir); fi; \
$(INSTALL_DATA) mmalloc.info $(infodir)/mmalloc.info
+ @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+ echo " install-info --info-dir=$(infodir) $(infodir)/mmalloc.info";\
+ install-info --info-dir=$(infodir) $(infodir)/mmalloc.info || :;\
+ else : ; fi
check: test1.c
# $(CC) -g $(srcdir)/test1.c libmmalloc.a