summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/apxproof/Makefile
blob: d24336a7d7c9839bbdb56e6fbded2318655900c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
all: apxproof.pdf apxproof.sty

clean:
	-rm -f *.aux *.log *.gl? *.idx *.ilg *.fls *.ind *.axp *.bbl *.blg *.hd  *.out

ctan:
	git archive --format zip master --prefix=apxproof/  --output apxproof.zip

%.pdf: %.dtx %.sty
	pdflatex $<
	makeindex -s gind.ist $(patsubst %.pdf,%.idx,$@)
	makeindex -s gglo.ist -o $(patsubst %.pdf,%.gls,$@) $(patsubst %.pdf,%.glo,$@)
	bibtex $(patsubst %.pdf,%,$@)
	bibtex bu1
	pdflatex $<
	pdflatex $<

%.sty: %.ins %.dtx
	-rm $@
	latex $<