File: gdc-texinfo.diff

package info (click to toggle)
gcc-4.9 4.9.2-10%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 78,296 kB
  • sloc: makefile: 1,979; python: 870; sh: 801; perl: 165; awk: 23; cpp: 14
file content (55 lines) | stat: -rw-r--r-- 1,281 bytes parent folder | download | duplicates (12)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# DP: Add macros for the gdc texinfo documentation.

Index: b/src/gcc/d/gdc.texi
===================================================================
--- a/src/gcc/d/gdc.texi
+++ b/src/gcc/d/gdc.texi
@@ -43,6 +43,22 @@ man page gfdl(7).
 @insertcopying
 @end ifinfo
 
+@macro versionsubtitle
+@ifclear DEVELOPMENT
+@subtitle For @sc{gcc} version @value{version-GCC}
+@end ifclear
+@ifset DEVELOPMENT
+@subtitle For @sc{gcc} version @value{version-GCC} (pre-release)
+@end ifset
+@ifset VERSION_PACKAGE
+@sp 1
+@subtitle @value{VERSION_PACKAGE}
+@end ifset
+@c Even if there are no authors, the second titlepage line should be
+@c forced to the bottom of the page.
+@vskip 0pt plus 1filll
+@end macro
+
 @titlepage
 @title The GNU D Compiler
 @versionsubtitle
@@ -138,6 +154,25 @@ remainder.
 
 @c man end
 
+@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
+
 @c man begin OPTIONS gdc
 
 @table @gcctabopt