File: GAP_CONVERT_DATE

package info (click to toggle)
gap-radiroot 2.9-1
  • links: PTS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 556 kB
  • sloc: makefile: 117; sh: 12
file content (45 lines) | stat: -rw-r--r-- 1,473 bytes parent folder | download
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
Index: gap-radiroot-2.9/doc/make_doc
===================================================================
--- gap-radiroot-2.9.orig/doc/make_doc
+++ gap-radiroot-2.9/doc/make_doc
@@ -8,19 +8,23 @@
 ##  etc/convert.pl) documentation for the Radiroot Package.
 ##
 
+export GAP_CONVERT_DATE="April 2014"
+TEXARG="\\def\\GAPDATE{$GAP_CONVERT_DATE}\input"
+
 echo "TeXing documentation"
 # TeX the manual
-tex manual
+echo tex $TEXARG manual
+tex $TEXARG manual
 # ... and build its bibliography (uncomment if there is no `manual.bib')
 bibtex manual
 # TeX the manual again to incorporate the ToC ... and build the index
-tex manual; /usr/share/gap/etc/manualindex manual
+tex $TEXARG manual; /usr/share/gap/etc/manualindex manual
 # Finally TeX the manual again to get cross-references right
-tex manual
+tex $TEXARG manual
 # Create the PostScript version (uncomment next line, if needed)
 #dvips -D300 manual -o
 # Create PDF version
-pdftex manual; pdftex manual 
+pdftex $TEXARG manual; pdftex $TEXARG manual
 
 # The HTML version of the manual
 mkdir -p ../htm
Index: gap-radiroot-2.9/doc/manual.tex
===================================================================
--- gap-radiroot-2.9.orig/doc/manual.tex
+++ gap-radiroot-2.9/doc/manual.tex
@@ -40,7 +40,7 @@
   \centerline{\secfont by}\vfill
   \centerline{\secfont Andreas Distler}\bigskip
   \centerline{\tt a.distler@tu-bs.de}\vfill
-  \centerline{\secfont{April} 2014}
+  \centerline{\secfont \GAPDATE}
 }
 %
 %