summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/handout/makefile
blob: e4e5610c87fa99fb3e43fba7dbc0ef59590d2b8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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