summaryrefslogtreecommitdiff
path: root/dvb-spec/dvbapi/Makefile
blob: e741df6dacbfb2ea947c34d22a5abcd63d6efd0b (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
all: dvbapi.ps dvbapi.pdf

TEXS=  dvbapi.tex devices.tex video.tex audio.tex ca.tex net.tex frontend.tex \
       demux.tex kdapi.tex examples.tex intro.tex title.tex dvbstb.ps

dvbapi.pdf: dvbapi.dvi
	dvipdf  $< $@

dvbapi.ps: dvbapi.dvi
	dvips -f $< -o $@

dvbapi.dvi: dvbapi.bbl $(TEXS)
	-latex dvbapi
	-latex dvbapi

dvbapi.bbl: $(TEXS)
	-latex dvbapi
	-bibtex dvbapi
	-makeindex dvbapi

html: dvbapi.dvi
	latex2html -address "LinuxTV DVB API" -long_titles 4 -split 3 dvbapi.tex

%.ps: %.fig
	./fig2pstex $<

clean: 
	rm -f dvbapi.dvi 
	rm -f *.aux *.bbl *.blg *.idx *.ilg *.ind *.log *.out *.toc 
	rm -f *.pdf *.pst *.ps
	rm -rf dvbapi