diff options
author | prathamesh | 2015-06-04 11:29:36 +0530 |
---|---|---|
committer | prathamesh | 2015-06-04 11:29:36 +0530 |
commit | ee53363066f921048e0cba3e0d1824e3a4ee8473 (patch) | |
tree | 3eda33ed714ab3f5309c75add7a9f1a1ee9cb83c /certificate/dwsim_template/Makefile | |
parent | 0c184765ff5c332109b9e53510a92689d6d46604 (diff) | |
download | certificate-generator-ee53363066f921048e0cba3e0d1824e3a4ee8473.tar.gz certificate-generator-ee53363066f921048e0cba3e0d1824e3a4ee8473.tar.bz2 certificate-generator-ee53363066f921048e0cba3e0d1824e3a4ee8473.zip |
DWSIM workshop certificate implemented.
Diffstat (limited to 'certificate/dwsim_template/Makefile')
-rw-r--r-- | certificate/dwsim_template/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/certificate/dwsim_template/Makefile b/certificate/dwsim_template/Makefile new file mode 100644 index 0000000..8a7247e --- /dev/null +++ b/certificate/dwsim_template/Makefile @@ -0,0 +1,34 @@ +# 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 + +# following line is because on server texlive is not installed system-wide +#export PATH := /usr/local/texlive/2014/bin/x86_64-linux:$(PATH) + +# default help +help: + @echo "current make version is: "$(MAKE_VERSION) + @echo "Please use \`make <target>' where <target> is one of" + @echo "" + @echo "participant_cert file_name=xyz 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 + +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 |