diff options
author | prathamesh | 2014-12-05 15:50:09 +0530 |
---|---|---|
committer | prathamesh | 2014-12-05 15:50:09 +0530 |
commit | ade9e9f78290072a184752a48ccee220d1ef371a (patch) | |
tree | a85c07de2b20652dfe7b7e8c855df3141c8e2f62 /certificate/certificate_template | |
parent | ba2d3829c72032b1827cab1ac46935bc1ba4af7f (diff) | |
download | certificate-generator-ade9e9f78290072a184752a48ccee220d1ef371a.tar.gz certificate-generator-ade9e9f78290072a184752a48ccee220d1ef371a.tar.bz2 certificate-generator-ade9e9f78290072a184752a48ccee220d1ef371a.zip |
Modified make file.
Make file takes file name as an argument.
Now multiple calls can be made to make file since it will execute
different file names. So if multiple users cals for certificate at the
same time, then there wont be a problem.
Diffstat (limited to 'certificate/certificate_template')
-rw-r--r-- | certificate/certificate_template/Makefile | 22 | ||||
-rw-r--r-- | certificate/certificate_template/iitb-logo.png | bin | 56700 -> 50099 bytes |
2 files changed, 9 insertions, 13 deletions
diff --git a/certificate/certificate_template/Makefile b/certificate/certificate_template/Makefile index a032d23..22b221c 100644 --- a/certificate/certificate_template/Makefile +++ b/certificate/certificate_template/Makefile @@ -19,23 +19,19 @@ help: @echo "help Show this help." @echo "" -# certificate -participant_cert: SLC2014Pcertificate.pdf - -SLC2014Pcertificate.pdf: SLC2014Pcertificate.tex fossee-logo.png bashful.sty - pdflatex -shell-escape SLC2014Pcertificate.tex +name = $(file_name) -paper_cert: SLC2014Acertificate.pdf - -SLC2014Acertificate.pdf: SLC2014Acertificate.tex fossee-logo.png bashful.sty - pdflatex -shell-escape SLC2014Acertificate.tex +# certificate +participant_cert: $(name).tex fossee-logo.png bashful.sty + pdflatex -shell-escape $(name).tex -workshop_cert: SLC2014Wcertificate.pdf +paper_cert: $(name).tex fossee-logo.png bashful.sty + pdflatex -shell-escape $(name).tex -SLC2014Wcertificate.pdf: SLC2014Wcertificate.tex fossee-logo.png bashful.sty - pdflatex -shell-escape SLC2014Wcertificate.tex +workshop_cert: $(name).tex fossee-logo.png bashful.sty + pdflatex -shell-escape $(name).tex clean: @echo "removing all tmp+pdf files" - -rm -rvf *.pdf *~ *.aux *.log *.vrb *.out *.toc *.nav *.snm + -rm -rvf $(name)*.pdf *~ $(name).aux $(name).log $(name).tex *.vrb *.out *.toc *.nav *.snm -rm -rvf *.std* *.sh diff --git a/certificate/certificate_template/iitb-logo.png b/certificate/certificate_template/iitb-logo.png Binary files differindex 89ec1cc..2915da3 100644 --- a/certificate/certificate_template/iitb-logo.png +++ b/certificate/certificate_template/iitb-logo.png |