Debian Codegraph @

debian/patches/GAP_CONVERT_DATE

raw
1 Index: gap-radiroot-2.9/doc/make_doc
2 ===================================================================
3 --- gap-radiroot-2.9.orig/doc/make_doc
4 +++ gap-radiroot-2.9/doc/make_doc
5 @@ -8,19 +8,23 @@
6 ## etc/convert.pl) documentation for the Radiroot Package.
7 ##
8
9 +export GAP_CONVERT_DATE="April 2014"
10 +TEXARG="\\def\\GAPDATE{$GAP_CONVERT_DATE}\input"
11 +
12 echo "TeXing documentation"
13 # TeX the manual
14 -tex manual
15 +echo tex $TEXARG manual
16 +tex $TEXARG manual
17 # ... and build its bibliography (uncomment if there is no `manual.bib')
18 bibtex manual
19 # TeX the manual again to incorporate the ToC ... and build the index
20 -tex manual; /usr/share/gap/etc/manualindex manual
21 +tex $TEXARG manual; /usr/share/gap/etc/manualindex manual
22 # Finally TeX the manual again to get cross-references right
23 -tex manual
24 +tex $TEXARG manual
25 # Create the PostScript version (uncomment next line, if needed)
26 #dvips -D300 manual -o
27 # Create PDF version
28 -pdftex manual; pdftex manual
29 +pdftex $TEXARG manual; pdftex $TEXARG manual
30
31 # The HTML version of the manual
32 mkdir -p ../htm
33 Index: gap-radiroot-2.9/doc/manual.tex
34 ===================================================================
35 --- gap-radiroot-2.9.orig/doc/manual.tex
36 +++ gap-radiroot-2.9/doc/manual.tex
37 @@ -40,7 +40,7 @@
38 \centerline{\secfont by}\vfill
39 \centerline{\secfont Andreas Distler}\bigskip
40 \centerline{\tt [email protected]}\vfill
41 - \centerline{\secfont{April} 2014}
42 + \centerline{\secfont \GAPDATE}
43 }
44 %
45 %