summaryrefslogtreecommitdiff
path: root/tbc/certificate/Makefile
diff options
context:
space:
mode:
authorHardik Ghaghada2014-11-24 15:41:08 +0530
committerHardik Ghaghada2014-11-24 15:41:08 +0530
commit9fcee366f190c616718c8902cbfe2ee291921dc4 (patch)
tree5b10fe110bbc8de7df3565d3aeba4d3b75963155 /tbc/certificate/Makefile
parentfc2fc29d9734884345f41ac08c7cc207abd19053 (diff)
parentd4709c3a1cde3a53ab9886efe198df57edd6160d (diff)
downloadPython-TBC-Interface-9fcee366f190c616718c8902cbfe2ee291921dc4.tar.gz
Python-TBC-Interface-9fcee366f190c616718c8902cbfe2ee291921dc4.tar.bz2
Python-TBC-Interface-9fcee366f190c616718c8902cbfe2ee291921dc4.zip
Merge pull request #6 from prathamesh920/certificate_generation
Certificate generation
Diffstat (limited to 'tbc/certificate/Makefile')
-rw-r--r--tbc/certificate/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/tbc/certificate/Makefile b/tbc/certificate/Makefile
new file mode 100644
index 0000000..a3d3d76
--- /dev/null
+++ b/tbc/certificate/Makefile
@@ -0,0 +1,31 @@
+# Makefile for Python Textbook Companion 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 tbc clean
+
+# default help
+help:
+ @echo "current make version is: "$(MAKE_VERSION)
+ @echo "Please use \`make <target>' where <target> is one of"
+ @echo ""
+ @echo "tbc Generate Python tbc certificate."
+ @echo "clean clean all tmp and pdf files."
+ @echo "help Show this help."
+ @echo ""
+
+# certificate
+tbc: tbc_certificate.pdf
+
+tbc_certificate.pdf: tbc_certificate.tex fossee.png bashful.sty
+ pdflatex -shell-escape tbc_certificate.tex
+
+clean:
+ @echo "removing all tmp+pdf files"
+ -rm -rvf *.pdf *~ *.aux *.log *.vrb *.out *.toc *.nav *.snm
+ -rm -rvf *.std* *.sh