summaryrefslogtreecommitdiff
path: root/lnxdoc.tmpl
blob: e8e783653fb0fb6e4dedaf189d42b0bc965928fb (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
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
XCOMM $XFree86: xc/config/cf/lnxdoc.tmpl,v 3.12 2003/04/23 15:43:29 tsi Exp $
XCOMM

#ifndef HasSgmlFmt
#define HasSgmlFmt	  NO
#endif

#ifndef HasLinuxDoc
#define HasLinuxDoc	  NO
#endif

#ifndef DoSgmlDocs
#define DoSgmlDocs	  (HasLinuxDoc || HasSgmlFmt)
#endif

#ifndef XFree86IdentFix
#define XFree86IdentFix	  sed -e '/\$$\XFree86:/s/....\/..\/.. ..:..:.. *//' \
			      -e '/\$$\XFree86:/s/\$$/Generated from /'
#endif

#ifndef HasLatex
#define HasLatex	  NO
#endif

#ifndef SgmlFmtCmd
#define SgmlFmtCmd	  sgmlfmt
#endif

#ifndef HasDvips
#define HasDvips	  NO
#endif

#ifndef DvipsOptions
#define DvipsOptions	  /**/
#endif

#ifndef DvipsCmd
#define DvipsCmd	  dvips
#endif

#ifndef BuildLinuxDocText
#define BuildLinuxDocText DoSgmlDocs
#endif

#ifndef BuildLinuxDocHtml
#define BuildLinuxDocHtml DoSgmlDocs
#endif

#ifndef BuildLinuxDocPS
#define BuildLinuxDocPS	  DoSgmlDocs
#endif

#ifndef BuildSgmlDocs
#define BuildSgmlDocs	  DoSgmlDocs
#endif

#ifndef ReadmeFile
#define ReadmeFile(base)  README.base     
#endif


  XFREE86IDENTFIX = XFree86IdentFix
            DVIPS = DvipsCmd
     DVIPSOPTIONS = DvipsOptions
       SGMLFMTCMD = SgmlFmtCmd

XCOMM Some extra things to clean

#ifdef ExtraFilesToClean
#undef ExtraFilesToClean
#endif
#define ExtraFilesToClean *.aux *.dvi *.log *.tex *.toc *.html *.ps *.latin1