summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/doc/sgml/Imakefile
blob: 3b81cfb69f3081f464dd0cfbd46537cb184b70f5 (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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
XCOMM $XConsortium: Imakefile /main/16 1996/10/28 05:13:04 kaleb $




XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/doc/sgml/Imakefile,v 3.83 2003/02/26 21:59:44 dawes Exp $

#include <Server.tmpl>
#include <lnxdoc.rules>

/* Set this to YES if the RELNOTES file is up to date (and during devel) */
#ifndef BuildRelnotes
#define BuildRelnotes YES
#endif

#if BuildRelnotes
RELNOTES=RELNOTES.sgml
#endif

SGMLDEPENDS = defs.ent
MANSGMLDEPENDS = mdefs.ent
  INDEXLIST = README.sgml $(RELNOTES) Status.sgml LICENSE.sgml Install.sgml \
	      BUILD.sgml DESIGN.sgml Versions.sgml \
	      mouse.sgml fonts.sgml DRI.sgml DRIcomp.sgml dps.sgml \
	      XKB-Config.sgml XKB-Enhancing.sgml \
	      Darwin.sgml isc.sgml LynxOS.sgml NetBSD.sgml OpenBSD.sgml \
	      OS2Notes.sgml SCO.sgml Solaris.sgml \
              apm.sgml ati.sgml chips.sgml cyrix.sgml DECtga.sgml \
	      I128.sgml i740.sgml i810.sgml newport.sgml \
	      r128.sgml rendition.sgml s3virge.sgml SiS.sgml

#ifdef DEADDOCS
LinuxDocReadmeTarget(Bsdi)
#endif
LinuxDocReadmeTarget(Darwin)
#ifdef OUTOFDATE
LinuxDocReadmeTarget(DGUX)
LinuxDocReadmeTarget(FreeBSD)
#endif
LinuxDocReadmeTarget(isc)
#ifdef OUTOFDATE
LinuxDocReadmeTarget(Linux)
#endif
LinuxDocReadmeTarget(LynxOS)
LinuxDocReadmeTarget(NetBSD)
LinuxDocReadmeTarget(OpenBSD)
#ifdef OUTOFDATE
LinuxDocReadmeTarget(OS2)
#endif
LinuxDocTargetLong(OS2Notes.sgml,OS2.Notes,OS2Notes)
LinuxDocReadmeTarget(SCO)
LinuxDocReadmeTarget(Solaris)
#ifdef OUTOFDATE
LinuxDocReadmeTarget(SVR4)
#endif

/* Hardware docs */
#ifdef OUTOFDATE
LinuxDocReadmeTarget(3Dlabs)
#endif
LinuxDocReadmeTarget(apm)
#ifdef OUTOFDATE
LinuxDocReadmeTarget(ark)
LinuxDocReadmeTarget(agx)
#endif
LinuxDocReadmeTarget(ati)
LinuxDocReadmeTarget(chips)
#ifdef OUTOFDATE
LinuxDocReadmeTarget(cirrus)
#endif
LinuxDocReadmeTarget(cyrix)
LinuxDocReadmeTarget(DECtga)
#ifdef OUTOFDATE
LinuxDocReadmeTarget(epson)
LinuxDocReadmeTarget(fbdev)
#endif
LinuxDocReadmeTarget(I128)
LinuxDocReadmeTarget(i740)
LinuxDocReadmeTarget(i810)
#ifdef OUTOFDATE
LinuxDocReadmeTarget(neomagic)
#endif
LinuxDocReadmeTarget(newport)
#ifdef OUTOFDATE
LinuxDocReadmeTarget(Mach32)
LinuxDocReadmeTarget(Mach64)
LinuxDocReadmeTarget(MGA)
LinuxDocReadmeTarget(NVIDIA)
LinuxDocReadmeTarget(Oak)
LinuxDocReadmeTarget(P9000)
#endif
LinuxDocReadmeTarget(r128)
LinuxDocReadmeTarget(rendition)
#ifdef OUTOFDATE
LinuxDocReadmeTarget(S3)
#endif
LinuxDocReadmeTarget(s3virge)
LinuxDocReadmeTarget(SiS)
#ifdef OUTOFDATE
LinuxDocReadmeTarget(trident)
LinuxDocReadmeTarget(tseng)
LinuxDocReadmeTarget(Video7)
LinuxDocReadmeTarget(WstDig)
#endif

/* Main docs */
LinuxDocTarget(BUILD)
#ifdef OUTOFDATE
LinuxDocReadmeTarget(Config)
#endif
LinuxDocTarget(DESIGN)
LinuxDocTarget(Install)
LinuxDocTarget(LICENSE)
#ifdef OUTOFDATE
LinuxDocTargetLong(QuickStart.sgml,QuickStart.doc,QuickStart)
#endif
LinuxDocTarget(README)
#if BuildRelnotes
LinuxDocTarget(RELNOTES)
#endif
LinuxDocTarget(Status)

/* Other docs */
LinuxDocReadmeTarget(fonts)
LinuxDocReadmeTarget(mouse)
LinuxDocTarget(Versions)
#ifdef OUTOFDATE
LinuxDocTargetLong(VideoModes.sgml,VideoModes.doc,VideoModes)
LinuxDocTarget(xinput)
#endif
LinuxDocReadmeTarget(DRI)
LinuxDocReadmeTarget(DRIcomp)
LinuxDocReadmeTarget(dps)
LinuxDocReadmeTarget(XKB-Config)
LinuxDocReadmeTarget(XKB-Enhancing)

SGMLMANDEFS=-D__drivermansuffix__='"$(DRIVERMANSUFFIX)"' \
	    -D__filemansuffix__='"$(FILEMANSUFFIX)"' \
	    -D__miscmansuffix__='"$(MISCMANSUFFIX)"'

#if BuildHtmlManPages
HTMLMANDEFS=-DHTML_MANPAGES
#endif

AllTarget(mdefs.ent)
CppRawFileTarget(mdefs.ent,mdefs.cpp,$(SGMLMANDEFS) $(HTMLMANDEFS),NullParameter)

/* Generate the documentation index */
index.sgml: $(INDEXLIST) index.pre index.post add.sh Imakefile $(SGMLDEPENDS) $(MANSGMLDEPENDS)
	RemoveFile(index.sgml)
	cat index.pre > index.sgml
	echo "<!-- This file is auto-generated.  Do not edit! -->" >> index.sgml
	for i in $(INDEXLIST); do \
		$(SHELL) add.sh $$i; \
	done
	cat index.post >> index.sgml

LinuxDocTarget(index)

clean::
	RemoveFile(index.sgml)


FORMATTEDDIR = ..

#if BuildRelnotes
/* Update RELNOTES at top level */
UpdateFormattedDoc(RELNOTES,$(TOP))
#endif

/* Update the README files in xc/programs/xkbcomp */
UpdateFormattedDocLong(README.XKB-Config,$(PROGRAMSRC)/xkbcomp,README.config)
UpdateFormattedDocLong(README.XKB-Enhancing,$(PROGRAMSRC)/xkbcomp,README.enhancing)