| 1 | dist: all |
| 2 | rm -rf biblatex-opcit-booktitle |
| 3 | mkdir biblatex-opcit-booktitle |
| 4 | ln README makefile *sty biblatex-opcit-booktitle |
| 5 | mkdir biblatex-opcit-booktitle/documentation |
| 6 | ln documentation/*tex documentation/*bib documentation/*pdf documentation/latexmkrc documentation/makefile biblatex-opcit-booktitle/documentation |
| 7 | $(RM) ../biblatex-opcit-booktitle.zip |
| 8 | zip -r ../biblatex-opcit-booktitle.zip biblatex-opcit-booktitle |
| 9 | |
| 10 | |
| 11 | clean: |
| 12 | $(MAKE) -C documentation clean |
| 13 | @$(RM) *.pdf *.toc *.aux *.out *.fdb_latexmk *.log *.bbl *.bcf *.blg *run.xml *.synctex.gz* |
| 14 | |
| 15 | all: documentation/biblatex-opcit-booktitle-example.tex documentation/biblatex-opcit-booktitle.tex documentation/biblatex-opcit-booktitle-example.bib documentation/latexmkrc |
| 16 | $(MAKE) -C documentation all |