summaryrefslogtreecommitdiff
path: root/certificate/scipy_template/Makefile
blob: 22b221c1043b8f6e571118760947f1d75ca2ae6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Makefile for Certificate

# bashful package available @
# http://www.ctan.org/tex-archive/macros/latex/contrib/bashful

# pst-barcode package available @
# http://www.ctan.org/tex-archive/graphics/pstricks/contrib/pst-barcode

# target is not a real file
.PHONY: help certificate clean

# default help
help:
	@echo "current make version is: "$(MAKE_VERSION)
	@echo "Please use \`make <target>' where <target> is one of"
	@echo ""
	@echo "certificate	        Generate certificate."
	@echo "clean		clean all tmp and pdf files."
	@echo "help		Show this help."
	@echo ""

name = $(file_name)

# certificate
participant_cert: $(name).tex fossee-logo.png bashful.sty
	pdflatex -shell-escape $(name).tex

paper_cert:	$(name).tex fossee-logo.png bashful.sty
	pdflatex -shell-escape $(name).tex

workshop_cert: $(name).tex fossee-logo.png bashful.sty
	pdflatex -shell-escape $(name).tex

clean:	
	@echo "removing all tmp+pdf files"
	-rm -rvf $(name)*.pdf *~ $(name).aux $(name).log $(name).tex *.vrb *.out *.toc *.nav *.snm
	-rm -rvf *.std* *.sh