summaryrefslogtreecommitdiff
path: root/lnxdoc.tmpl
blob: 2ea8036780d3fed9bf81b67fb1317fc2f6d0dff3 (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
74
75
76
77
78
79
80
81
82
83
84
85
XCOMM $XFree86: xc/config/cf/lnxdoc.tmpl,v 3.11tsi 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 XorgIdentFix
#define XorgIdentFix	  sed -e '/\$$\XdotOrg:/s/....\/..\/.. ..:..:.. *//' \
			      -e '/\$$\XdotOrg:/s/\$$/Generated from /'
#endif

#ifndef CVSIdentFix
#define CVSIdentFix	  sed -e '/\$$\Id:/s/....\/..\/.. ..:..:.. *//' \
			      -e '/\$$\Id:/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
     XORGIDENTFIX = XorgIdentFix
      CVSIDENTFIX = CVSIdentFix
            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