From 6b58372076941752b0333890dbf0d2096ce64f97 Mon Sep 17 00:00:00 2001 From: Roland Pesch Date: Fri, 11 Oct 1991 23:11:17 +0000 Subject: [PATCH] * Makefile.in: add target "binutils.ms" --- binutils/ChangeLog | 2 ++ binutils/Makefile.in | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d424f357d09..a031056f691 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 59cebd67b8b..12a1321d3c5 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.??? -- 2.30.2