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

clean:
	rm -f *.log *.bbl *.blg *.dvi *.glo *.idx *.ilg *.ind *.sty *.aux *.gls *.zip *~

dist:	clean
	cd .. && zip -r macroswap/macroswap.zip macroswap/

macroswap.sty : macroswap.ins macroswap.dtx
	latex macroswap.ins

macroswap.pdf : macroswap.sty macroswap.glo macroswap.ind
	pdflatex macroswap.dtx

# Glossary contains the changelist(?)
macroswap.glo : macroswap.dtx
	pdflatex macroswap.dtx && makeindex -s gglo.ist -o macroswap.gls macroswap.glo

macroswap.ind : macroswap.idx
	makeindex -s gind.ist -o macroswap.ind macroswap.idx