| 1 |
all: sty pdf |
| 2 |
|
| 3 |
sty: songproj.sty |
| 4 |
|
| 5 |
pdf: songproj.pdf |
| 6 |
|
| 7 |
%.pdf: %.dtx %.gls %.ind |
| 8 |
xelatex $< |
| 9 |
|
| 10 |
%.glo %.aux %.idx: %.dtx |
| 11 |
xelatex $< |
| 12 |
|
| 13 |
%.gls: %.glo |
| 14 |
makeindex -s gglo.ist -o $@ $< |
| 15 |
|
| 16 |
%.ind: %.idx |
| 17 |
makeindex -s gind.ist -o $@ $< |
| 18 |
|
| 19 |
%.sty: %.ins %.dtx |
| 20 |
xelatex $< |
| 21 |
|
| 22 |
mostlyclean: |
| 23 |
rm -f *.aux *.glo *.gls *.hd *.idx *.ilg *.ind *.log *.out |
| 24 |
|
| 25 |
ctanclean: mostlyclean |
| 26 |
rm -f *.sty |
| 27 |
|
| 28 |
clean: mostlyclean |
| 29 |
rm -f *.pdf |
| 30 |
|
| 31 |
maintainer-clean: ctanclean clean |
| 32 |
|
| 33 |
.PHONY: all sty doc mostlyclean ctanclean clean maintainer-clean |