aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Pesch <pesch@cygnus>1991-10-11 23:11:17 +0000
committerRoland Pesch <pesch@cygnus>1991-10-11 23:11:17 +0000
commit6b58372076941752b0333890dbf0d2096ce64f97 (patch)
tree92c2fc96457bdebd7caa13ce011323db1db6ae1a
parent10a69a373d803512d28ae0debbf3a5153b596547 (diff)
downloadgdb-6b58372076941752b0333890dbf0d2096ce64f97.zip
gdb-6b58372076941752b0333890dbf0d2096ce64f97.tar.gz
gdb-6b58372076941752b0333890dbf0d2096ce64f97.tar.bz2
* Makefile.in: add target "binutils.ms"
-rw-r--r--binutils/ChangeLog2
-rw-r--r--binutils/Makefile.in17
2 files changed, 19 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index d424f35..a031056 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,5 +1,7 @@
Fri Oct 11 12:51:33 1991 Roland H. Pesch (pesch at cygnus.com)
+ * Makefile.in: add target "binutils.ms"
+
* binutils.texinfo: minor restructuring for texi2roff comfort.
Fri Oct 11 04:12:28 1991 John Gilmore (gnu at cygnus.com)
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index 59cebd6..12a1321 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -14,6 +14,7 @@ version=`$(unsubdir)/../gcc$(subdir)/gcc -dumpversion`
prefix = $(destdir)
bindir = $(prefix)/H-$(host_alias)/T-independent/bin
+# Where to find texinfo.tex to format docn with TeX
TEXIDIR = $(srcdir)/../texinfo/fsf
#INSTALL = install -c
@@ -147,14 +148,30 @@ de-stage3: force
- (cd stage3 ; mv -f * ..)
- rmdir stage3
+######################################################################
+# DOCUMENTATION TARGETS
+# TeX output
binutils.dvi: binutils.texinfo
TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex binutils.texinfo
texindex binutils.??
TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex binutils.texinfo
+# info file for online browsing
binutils.info: binutils.texinfo
makeinfo binutils.texinfo
+# roff output (-ms)
+# edit instances of "ms" to "me" or "mm" to suit your preferences.
+# (we don't use a variable because we don't trust all makes to handle
+# a var in the target name right).
+binutils.ms: binutils.texinfo
+ sed -e '/\\input texinfo/d' \
+ -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
+ binutils.texinfo | \
+ texi2roff -ms >binutils.ms
+
+######################################################################
+
clean:
-rm -f *.o *~ \#* core $(STAGESTUFF) TAGS binutils.?? binutils.???