summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/hepthesis/example/Makefile
blob: 5400f26abf8e0bf2bfd77ee6383cfe0c7c34f7aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.PHONY: clean

EXTRASTYS = abhepexpt.sty abhep.sty  abmath.sty lineno.sty SIunits.sty varwidth.sty

example.pdf: example.tex mythesis.cls chap1.tex chap2.tex chap3.tex frontmatter.tex appendices.tex
	@rm -f $(EXTRASTYS)
	unzip extrastyles.zip
	@rm -f example.{aux,toc,lof,lot}
	(pdflatex example && bibtex example && pdflatex example && pdflatex example) || rm -f $(EXTRASTYS) example.pdf
	@rm -f example.{aux,toc,lof,lot}
	@rm -f $(EXTRASTYS)

clean:
	@rm -f $(EXTRASTYS)
	@rm -f example.pdf example.log example.aux
	@rm -f *.bbl *.blg *.lof *.cut
	@rm -f *.lot *.out *.toc