summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/handout/makefile
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/handout/makefile
Initial commit
Diffstat (limited to 'macros/latex/contrib/handout/makefile')
-rw-r--r--macros/latex/contrib/handout/makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/macros/latex/contrib/handout/makefile b/macros/latex/contrib/handout/makefile
new file mode 100644
index 0000000000..e4e5610c87
--- /dev/null
+++ b/macros/latex/contrib/handout/makefile
@@ -0,0 +1,21 @@
+
+dist: examples handout.tex README *.sty makefile latexmkrc
+ $(RM) ../handout.zip
+ rm -rf handout
+ latexmk handout.tex
+ $(MAKE) -C examples all
+
+ mkdir handout
+ cp *.sty *.tex *.pdf latexmkrc makefile README handout
+
+ mkdir handout/examples
+ cp examples/*pdf examples/*tex examples/*bib examples/latexmkrc examples/makefile handout/examples
+
+ mkdir handout/examples/txt
+ cp examples/txt/*tex handout/examples/txt
+ zip -r ../handout.zip handout
+
+clean:
+ $(MAKE) -C examples clean
+ @$(RM) *.pdf *.toc *.aux *.out *.fdb_latexmk *.log *.bbl *.bcf *.blg *run.xml *.synctex.gz* *.pyg
+ rm -rf handout