GNUmakefile 470 Bytes
Newer Older
Attila Lendvai's avatar
Attila Lendvai committed
1
2
3
4
5
6
SOURCES=iterate-bare.tex iter-man.tex
DUMMY_INDEXES=iter-man.ind
MKIDX=makeindex
MKIDXFLAGS=-l
LATEX=latex

7
all: iter-bare.ps iter-man.ps iter-bare.pdf iter-man.pdf
Attila Lendvai's avatar
Attila Lendvai committed
8
9
10
11
12
13
14
15

%.dvi: %.tex
	touch $*.ind $*.idx
	${LATEX} $<
	${MKIDX} ${MKIDXFLAGS} $*.idx
	${LATEX} $<

%.ps: %.dvi
16
17
18
19
	dvips -o $@ $*.dvi

%.pdf: %.dvi
	dvipdf $*.dvi $@
Attila Lendvai's avatar
Attila Lendvai committed
20
21
22
23
24

clean:
	rm -f *.dvi *.log *.aux *.ind *.idx *.toc *.auxs *.ilg

shiny: clean
25
	rm -f *.ps *.pdf
Attila Lendvai's avatar
Attila Lendvai committed
26
27

# arch-tag: "c8f080e3-313c-11d8-abb9-000c76244c24"