aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Pesch <pesch@cygnus>1991-11-13 23:12:19 +0000
committerRoland Pesch <pesch@cygnus>1991-11-13 23:12:19 +0000
commitfd4231426fadc2b7b1b31e0804d9620f1173ea17 (patch)
tree7611ac2cf771f4b4fcce842c1bc290ecdfb21246
parentedb413289641433efca945a8d27cc0b027dada82 (diff)
downloadgdb-fd4231426fadc2b7b1b31e0804d9620f1173ea17.zip
gdb-fd4231426fadc2b7b1b31e0804d9620f1173ea17.tar.gz
gdb-fd4231426fadc2b7b1b31e0804d9620f1173ea17.tar.bz2
Better generation of mm-converted manual (Makefile)
New predefined configuration (Makefile, amd29k-coff.m4) Bugfix in old configuration (amd29k.m4)
-rwxr-xr-xgas/doc/Makefile8
-rw-r--r--gas/doc/a29k.m42
2 files changed, 8 insertions, 2 deletions
diff --git a/gas/doc/Makefile b/gas/doc/Makefile
index fe8f1b7..6ac686b 100755
--- a/gas/doc/Makefile
+++ b/gas/doc/Makefile
@@ -41,8 +41,11 @@ as.mm: as-${CONFIG}.texinfo
sed -e '/\\input texinfo/d' \
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
-e 's/{.*,,/{/' \
+ -e '/@noindent/d' \
as-${CONFIG}.texinfo | \
- texi2roff -mm >as.mm
+ texi2roff -mm | \
+ sed -e 's/---/\\(em/g' \
+ >as.mm
# roff output (-me)
as.me: as-${CONFIG}.texinfo
@@ -60,6 +63,9 @@ as-all.texinfo: as.texinfo pretex.m4 none.m4 all.m4
as-amd29k.texinfo: as.texinfo pretex.m4 none.m4 amd29k.m4
${M4} pretex.m4 none.m4 amd29k.m4 as.texinfo >as-amd29k.texinfo
+as-amd29k-coff.texinfo: as.texinfo pretex.m4 none.m4 amd29k-coff.m4
+ ${M4} pretex.m4 none.m4 amd29k-coff.m4 as.texinfo >as-amd29k-coff.texinfo
+
as-gen.texinfo: as.texinfo pretex.m4 none.m4 gen.m4
${M4} pretex.m4 none.m4 gen.m4 as.texinfo >as-gen.texinfo
diff --git a/gas/doc/a29k.m4 b/gas/doc/a29k.m4
index 934fabe..7f36834 100644
--- a/gas/doc/a29k.m4
+++ b/gas/doc/a29k.m4
@@ -1,5 +1,5 @@
_divert__(-1)
_define__(<_AMD29K__>,<1>)
_define__(<_HOST__>,<AMD 29K>)
-_define__(<_MACH_DEP__>,<AMD29K-Dependent>
+_define__(<_MACH_DEP__>,<AMD29K-Dependent>)
_divert__<> \ No newline at end of file