summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/hepthesis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-09-16 00:13:07 +0000
committerKarl Berry <karl@freefriends.org>2007-09-16 00:13:07 +0000
commit11826a2e3ed54621c66e5c34ebe977a0ba45c8ae (patch)
tree0fdd2516ae1c1675b81539c363888ab2ee078f71 /Master/texmf-dist/source/latex/hepthesis
parentd85f248e3b38ea0ecda38c5340e3cadd08d65346 (diff)
hepthesis 1.4 (14sep07)
git-svn-id: svn://tug.org/texlive/trunk@4948 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/hepthesis')
-rw-r--r--Master/texmf-dist/source/latex/hepthesis/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/hepthesis/Makefile b/Master/texmf-dist/source/latex/hepthesis/Makefile
new file mode 100644
index 00000000000..9dad91545f8
--- /dev/null
+++ b/Master/texmf-dist/source/latex/hepthesis/Makefile
@@ -0,0 +1,29 @@
+HT := hepthesis
+.PHONY: all clean
+
+all: $(HT).tar.gz
+ @true
+
+$(HT).tar.gz: README ChangeLog $(HT).pdf example/example.pdf
+ mkdir $(HT)
+ cp README TODO ChangeLog Makefile $(HT).pdf $(HT).cls $(HT).tex $(HT)
+ mkdir $(HT)/example
+ cp example/*.pdf example/*.tex example/*.cls example/*.sty $(HT)/example
+ tar czf $@ $(HT)
+
+$(HT).pdf: $(HT).tex example/example.pdf
+ (rm -f $(HT).{aux,toc,lof,lot} && pdflatex $(HT).tex && pdflatex $(HT).tex && rm -f $(HT).{aux,toc,lof,lot})
+
+example/example.pdf: example/example.tex
+ (cd example && rm -f example.{aux,toc,lof,lot} && pdflatex example && bibtex example && pdflatex example && pdflatex example && rm -f example.{aux,toc,lof,lot})
+
+clean:
+ @rm -rf $(HT)
+ @rm -f $(HT).tar.gz
+ @rm -f $(HT).pdf $(HT).log $(HT).aux $(HT).out $(HT).dvi comment.cut
+ @rm -f example/example.pdf example/example.log example/example.aux
+
+check: $(HT).tar.gz
+ rm -rf $(HT)
+ tar xzf $(HT).tar.gz
+ (cd $(HT) && make $(HT).pdf && make example/example.pdf)