aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/dmx/doc/Makefile.linux
blob: e43901c66927a2963348a06b92ddbc62d822c192 (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
# This is a temporary convenience Makefile that will be removed before
# merging in to XFree86 tree.

# For RedHat 7.2:
SGML2TXT   = GROFF_NO_SGR= sgml2txt
SGML2LATEX = sgml2latex
SGML2HTML  = sgml2html

# For RedHat 8.0:
#SGML2TXT   = GROFF_NO_SGR= linuxdoc -B txt
#SGML2LATEX = linuxdoc -B latex
#SGML2HTML  = linuxdoc -B html

FILES = dmx.sgml scaled.sgml

TXT_FILES  = $(FILES:.sgml=.txt)
DVI_FILES  = $(FILES:.sgml=.dvi)
PS_FILES   = $(FILES:.sgml=.ps)
HTML_FILES = $(FILES:.sgml=.html)

all:    txt ps html
	doxygen doxygen.conf

txt:    $(TXT_FILES)
dvi:    $(DVI_FILES)
ps:     $(PS_FILES)
html:   $(HTML_FILES)

%.txt: %.sgml
	$(SGML2TXT) $*

%.dvi: %.sgml
	$(SGML2LATEX) --papersize=letter $*

%.ps: %.sgml
	$(SGML2LATEX) --papersize=letter --output=ps $*

%.html: %.sgml
	$(SGML2HTML) --split=0 $*

clean:
	rm -f $(TXT_FILES) $(DVI_FILES) $(PS_FILES) # $(HTML_FILES)