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

7
all: iterate-bare.pdf iterate-manual.pdf iterate-bare.ps iterate-manual.ps
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"