aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog14
-rwxr-xr-xgdb/Makefile23
2 files changed, 33 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4711284..ff9ab3f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,17 @@
+Tue May 14 15:02:13 PDT 1991 Roland Pesch (pesch at cygint.cygnus.com)
+
+ * gdb.info*: added to distribution. These are ordinary info
+ files, formatted from gdb.texinfo (via gdb-all.texinfo, see
+ Makefile)---but due to use of texinfo 2, can't count on makeinfo
+ to generate these, so we distribute them already formatted.
+
+ * gdb.texinfo: included full Info node and menu crud (as generated
+ by C-u M-x texinfo-master-menu using the texinfo-2 elisp code).
+
+ * Makefile: updated "gdb.dvi" target to use M4 preprocessor;
+ put in comments-for-future gdb.info target (one day makeinfo will
+ work again).
+
Tue May 14 13:51:36 PDT 1991 Roland Pesch (pesch at cygint.cygnus.com)
* gdb.texinfo: Updated to include new or old undocumented
diff --git a/gdb/Makefile b/gdb/Makefile
index 525e945..eec7b7b 100755
--- a/gdb/Makefile
+++ b/gdb/Makefile
@@ -272,6 +272,9 @@ YACC=bison -y
# YACC=yacc
SHELL=/bin/sh
MAKE=make
+# We need either GNU m4 or SysV m4; Berkeley/Sun don't have quite enough.
+#M4=gm4
+M4=/usr/5bin/m4
# Set this up with gcc if you have gnu ld and the loader will print out
# line numbers for undefinded refs.
@@ -634,6 +637,7 @@ clean:
rm -f init.c init.o version.c
rm -f gdb core gdb.tar gdb.tar.Z make.log
rm -f gdb[0-9]
+ rm -f gdb.dvi gdb-all*
cd readline ; make clean
distclean: clean expread.tab.c TAGS
@@ -646,10 +650,21 @@ realclean: clean
rm -f tm.h xm.h config.status
rm -f Makefile
-gdb.dvi : gdb.texinfo
- tex gdb.texinfo
- texindex gdb.??
- tex gdb.texinfo
+gdb-all.texinfo: gdb.texinfo
+ ${M4} pretex.m4 none.m4 all.m4 gdb.texinfo >gdb-all.texinfo
+
+gdb.dvi : gdb-all.texinfo
+ tex gdb-all.texinfo
+ texindex gdb-all.??
+ tex gdb-all.texinfo
+ mv gdb-all.dvi gdb.dvi
+ rm -f gdb-all.?? gdb-all.???
+
+# This should work eventually, but we're using texinfo2, and many makeinfo's
+# can't cope with all the markup. In the meantime, we distribute the info
+# files as formatted by the elisp texinfo2 code.
+#gdb.info: gdb-all.texinfo
+# makeinfo gdb-all.texinfo
# Make copying.c from COPYING
copying.c : COPYING copying.awk