diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/hepthesis/example/Makefile')
-rw-r--r-- | Master/texmf-dist/doc/latex/hepthesis/example/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/hepthesis/example/Makefile b/Master/texmf-dist/doc/latex/hepthesis/example/Makefile new file mode 100644 index 00000000000..00fe86daab6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/hepthesis/example/Makefile @@ -0,0 +1,34 @@ +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 Makefile $(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 |