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

FILES = dmx.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

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)