summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/songproj/Makefile
blob: 48edf01b5175694c5c6380e67bb6f009287006a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
all: sty pdf

sty: songproj.sty

pdf: songproj.pdf

%.pdf: %.dtx %.gls %.ind
	xelatex $<

%.glo %.aux %.idx: %.dtx
	xelatex $<

%.gls: %.glo
	makeindex -s gglo.ist -o $@ $<

%.ind: %.idx
	makeindex -s gind.ist -o $@ $<

%.sty: %.ins %.dtx
	xelatex $<

mostlyclean:
	rm -f *.aux *.glo *.gls *.hd *.idx *.ilg *.ind *.log *.out

clean: mostlyclean
	rm -f *.pdf

maintainer-clean: clean
	rm -f *.sty

.PHONY: all sty doc mostlyclean clean maintainer-clean