summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/hepthesis/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-06-04 14:50:32 +0000
committerKarl Berry <karl@freefriends.org>2010-06-04 14:50:32 +0000
commit70c5604c155226ecad5f0c797cc59c9ce50e1e49 (patch)
treebfff574998380f5097007d19c6c64a3c7d20267f /Master/texmf-dist/doc/latex/hepthesis/Makefile
parent68ae4f7bfb0b890c21bd8c5d10752b008f641cd0 (diff)
hepthesis 1.4.3 (3jun10)
git-svn-id: svn://tug.org/texlive/trunk@18725 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/hepthesis/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/hepthesis/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/hepthesis/Makefile b/Master/texmf-dist/doc/latex/hepthesis/Makefile
new file mode 100644
index 00000000000..4c84db67b0b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/hepthesis/Makefile
@@ -0,0 +1,36 @@
+HT := hepthesis
+.PHONY: all clean check
+
+all: $(HT).tar.gz
+ @true
+
+$(HT).tar.gz: README ChangeLog $(HT).pdf example/example.pdf
+ @rm -rf $(HT)
+ @mkdir $(HT)
+ @cp README TODO ChangeLog Makefile $(HT).pdf $(HT).cls $(HT).tex $(HT)
+ @mkdir $(HT)/example
+ @cp example/*.pdf example/*.tex example/extrastyles.zip example/Makefile $(HT)/example
+ @cp example/getNewBibtex example/h-physrev.bst $(HT)/example
+ @cp example/mythesis.bib example/mythesis.cls example/mythesis.sty example/mythesismath.sty $(HT)/example
+ tar czf $@ $(HT)
+ @rm -rf $(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: force_look
+ cd example && $(MAKE) $(MFLAGS)
+
+clean:
+ @rm -rf $(HT)
+ @rm -f $(HT).tar.gz
+ @rm -f $(HT).pdf $(HT).log $(HT).aux $(HT).out $(HT).dvi comment.cut
+ cd example && $(MAKE) $(MFLAGS) clean
+
+check: $(HT).tar.gz
+ @rm -rf $(HT)
+ @tar xzf $(HT).tar.gz
+ (cd $(HT) && make $(HT).pdf && make example/example.pdf)
+
+force_look:
+ @true \ No newline at end of file