| 1 |
.PHONY: clean |
| 2 |
|
| 3 |
EXTRASTYS = abhepexpt.sty abhep.sty abmath.sty lineno.sty siunitx.sty SIunits.sty varwidth.sty |
| 4 |
|
| 5 |
example.pdf: example.tex preamble.tex chap1.tex chap2.tex chap3.tex frontmatter.tex appendices.tex |
| 6 |
@rm -f $(EXTRASTYS) |
| 7 |
unzip extrastyles.zip |
| 8 |
@rm -f example.{aux,toc,lof,lot} |
| 9 |
(pdflatex example && bibtex example && pdflatex example && pdflatex example) || rm -f $(EXTRASTYS) example.pdf |
| 10 |
@rm -f example.{aux,toc,lof,lot} |
| 11 |
@rm -f $(EXTRASTYS) |
| 12 |
|
| 13 |
clean: |
| 14 |
@rm -f $(EXTRASTYS) |
| 15 |
@rm -f example.pdf example.log example.aux |
| 16 |
@rm -f *.bbl *.blg *.lof *.cut |
| 17 |
@rm -f *.lot *.out *.toc |