summaryrefslogtreecommitdiffstats
path: root/debian/patches/gm2-texinfo.diff
blob: b7c1505e989d3a60dd7db87b3c8a45dde0c44a3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# DP: gm2.texi: Define our own gcctabopt macro, needed for dfsg builds.

--- a/src/gcc/doc/gm2.texi
+++ b/src/gcc/doc/gm2.texi
@@ -51,6 +51,25 @@ man page gfdl(7).
 @versionsubtitle
 @author Gaius Mulley
 
+@macro gcctabopt{body}
+@code{\body\}
+@end macro
+@macro gccoptlist{body}
+@smallexample
+\body\
+@end smallexample
+@end macro
+@c Makeinfo handles the above macro OK, TeX needs manual line breaks;
+@c they get lost at some point in handling the macro.  But if @macro is
+@c used here rather than @alias, it produces double line breaks.
+@iftex
+@alias gol = *
+@end iftex
+@ifnottex
+@macro gol
+@end macro
+@end ifnottex
+
 @page
 @vskip 0pt plus 1filll
 Published by the Free Software Foundation @*