| 1 |
|
| 2 |
dist: examples handout.tex README *.sty makefile latexmkrc |
| 3 |
$(RM) ../handout.zip |
| 4 |
rm -rf handout |
| 5 |
latexmk handout.tex |
| 6 |
$(MAKE) -C examples all |
| 7 |
|
| 8 |
mkdir handout |
| 9 |
cp *.sty *.tex *.pdf latexmkrc makefile README handout |
| 10 |
|
| 11 |
mkdir handout/examples |
| 12 |
cp examples/*pdf examples/*tex examples/*bib examples/latexmkrc examples/makefile handout/examples |
| 13 |
|
| 14 |
mkdir handout/examples/txt |
| 15 |
cp examples/txt/*tex handout/examples/txt |
| 16 |
zip -r ../handout.zip handout |
| 17 |
|
| 18 |
clean: |
| 19 |
$(MAKE) -C examples clean |
| 20 |
@$(RM) *.pdf *.toc *.aux *.out *.fdb_latexmk *.log *.bbl *.bcf *.blg *run.xml *.synctex.gz* *.pyg |
| 21 |
rm -rf handout |