1
# Makefile to create notapg.pdf
2
3
# Note: xelatex creates PDFs (not DVIs) by default
4
# apt-get install texlive-xelatex ttf-sil-gentium
5
LATEX=xelatex
6
7
FILES=				\
8
	abbrevs.tex		\
9
	overview.tex		\
10
	development.tex		\
11
	example.tex		\
12
	h-in.tex		\
13
	installation.tex	\
14
	introduction.tex	\
15
	l-in.tex		\
16
	notapg.tex		\
17
	rm.tex			\
18
	stubgen.tex		\
19
	titlepage.tex
20
21
PICS=				\
22
	image/an-sn.png		\
23
	image/nota-arch.png
24
25
# notapg.tex includes the other files
26
notapg.pdf: $(FILES) $(PICS)
27
	$(LATEX) notapg.tex
28
	makeindex notapg
29
	bibtex notapg
30
	$(LATEX) notapg.tex # run again
31
	$(LATEX) notapg.tex # and again
32
33
34
clean:
35
	rm -f *.aux *.log *.pdf *.toc *.out \#* *.bbl *.ilg *.ind *.blg *.idx