summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-07-12 18:03:34 +0000
committerKarl Berry <karl@freefriends.org>2008-07-12 18:03:34 +0000
commit571a59707cdc614327b51de4a2494eddf9410042 (patch)
tree367f82656d2835ca3a2de3e2994e0cb411f8b65a /Master/texmf-dist/source/latex
parentdf62587ee85aba2109d6ff1efee005af5b626ac1 (diff)
hepthesis update (11jul08)
git-svn-id: svn://tug.org/texlive/trunk@9483 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r--Master/texmf-dist/source/latex/hepthesis/Makefile27
1 files changed, 16 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/hepthesis/Makefile b/Master/texmf-dist/source/latex/hepthesis/Makefile
index 9dad91545f8..00fe86daab6 100644
--- a/Master/texmf-dist/source/latex/hepthesis/Makefile
+++ b/Master/texmf-dist/source/latex/hepthesis/Makefile
@@ -1,29 +1,34 @@
HT := hepthesis
-.PHONY: all clean
+.PHONY: all clean check
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
+ @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 Makefile $(HT)/example
tar czf $@ $(HT)
+ @rm -rf $(HT)
-$(HT).pdf: $(HT).tex example/example.pdf
+$(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})
+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
- @rm -f example/example.pdf example/example.log example/example.aux
+ cd example && $(MAKE) $(MFLAGS) clean
check: $(HT).tar.gz
- rm -rf $(HT)
- tar xzf $(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