aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorRoland Pesch <pesch@cygnus>1991-11-14 00:06:25 +0000
committerRoland Pesch <pesch@cygnus>1991-11-14 00:06:25 +0000
commit2226a09076ca6ae40a714cb9ab2b711aadac29b0 (patch)
treececec9a6c2c10fc3b023afe17225a5dfbfd4386f /binutils
parent6b7e599846f8d804a5e9c0f8e85d5cc58c0788a3 (diff)
downloadgdb-2226a09076ca6ae40a714cb9ab2b711aadac29b0.zip
gdb-2226a09076ca6ae40a714cb9ab2b711aadac29b0.tar.gz
gdb-2226a09076ca6ae40a714cb9ab2b711aadac29b0.tar.bz2
(1) repair Makefile targets involving "binutils.texinfo" to use
instead new short name "binutils.texi" (which presumably someone changed for SysV short-name file systems). (2) use [what I understand to be] current conventions for $srcdir, makeinfo -o. (3) more filtering of roff'able target forms of doc.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/Makefile.in30
1 files changed, 18 insertions, 12 deletions
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index 9c1a4fa..7cbdb96 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -176,37 +176,43 @@ de-stage3: force
######################################################################
# DOCUMENTATION TARGETS
# TeX output
-binutils.dvi: binutils.texinfo
- TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex binutils.texinfo
+binutils.dvi: $(srcdir)/binutils.texi
+ TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex $(srcdir)/binutils.texi
texindex binutils.??
- TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex binutils.texinfo
+ TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex $(srcdir)/binutils.texi
# info file for online browsing
-binutils.info: binutils.texinfo
- makeinfo binutils.texinfo
+binutils.info: $(srcdir)/binutils.texi
+ makeinfo -o binutils.info $(srcdir)/binutils.texi
# different targets for -ms, -mm, -me
# (we don't use a variable because we don't trust all makes to handle
# a var in the target name right).
# roff output (-ms)
-binutils.ms: binutils.texinfo
+binutils.ms: $(srcdir)/binutils.texi
sed -e '/\\input texinfo/d' \
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
- binutils.texinfo | \
+ -e 's/{.*,,/{/' \
+ $(srcdir)/binutils.texi | \
texi2roff -ms >binutils.ms
# roff output (-mm)
-binutils.mm: binutils.texinfo
+binutils.mm: $(srcdir)/binutils.texi
sed -e '/\\input texinfo/d' \
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
- binutils.texinfo | \
- texi2roff -mm >binutils.mm
+ -e 's/{.*,,/{/' \
+ -e '/@noindent/d' \
+ $(srcdir)/binutils.texi | \
+ texi2roff -mm | \
+ sed -e 's/---/\\(em/g' \
+ >binutils.mm
# roff output (-me)
-binutils.me: binutils.texinfo
+binutils.me: $(srcdir)/binutils.texi
sed -e '/\\input texinfo/d' \
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
- binutils.texinfo | \
+ -e 's/{.*,,/{/' \
+ $(srcdir)/binutils.texi | \
texi2roff -me >binutils.me