summaryrefslogtreecommitdiff
path: root/certificate/scipy_template/Makefile
diff options
context:
space:
mode:
authorprathamesh2014-12-10 17:46:39 +0530
committerprathamesh2014-12-10 17:46:39 +0530
commit7f2275eee5756ff3c4f54d3679fae164915e1be9 (patch)
tree3384416620c7a1ad091dc577f48311c1ae9b8140 /certificate/scipy_template/Makefile
parent5585b91022a0e035e2b689e2f6443263b89795d7 (diff)
downloadcertificate-generator-7f2275eee5756ff3c4f54d3679fae164915e1be9.tar.gz
certificate-generator-7f2275eee5756ff3c4f54d3679fae164915e1be9.tar.bz2
certificate-generator-7f2275eee5756ff3c4f54d3679fae164915e1be9.zip
Interface to take SciPy India Conference feedback and
give certificates.
Diffstat (limited to 'certificate/scipy_template/Makefile')
-rw-r--r--certificate/scipy_template/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/certificate/scipy_template/Makefile b/certificate/scipy_template/Makefile
new file mode 100644
index 0000000..22b221c
--- /dev/null
+++ b/certificate/scipy_template/Makefile
@@ -0,0 +1,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