diff options
Diffstat (limited to 'hireme/Makefile')
-rw-r--r-- | hireme/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/hireme/Makefile b/hireme/Makefile new file mode 100644 index 0000000..0e3f653 --- /dev/null +++ b/hireme/Makefile @@ -0,0 +1,40 @@ +.POSIX: +.SUFFIXES: +.SUFFIXES: .tex .pdf + +PDFTEX = pdftex + +all = about-7factor.pdf cover-letter.pdf journal1.pdf journal2.pdf\ +journal3.pdf journal4.pdf networking.pdf resume.pdf final-pres-all.pdf \ +final-pres.pptx +CONTENTS = $(all) smart-goals-all.pdf intern-thanks.txt \ +interview-thanks.txt forms + +hireme.zip: $(CONTENTS) + WD=$$(basename $$(pwd)) && cd .. && echo $(CONTENTS) | sed "s/^\| /\n$${WD}\//g" | zip -r -@ $${WD}/hireme.zip + +clean: + rm -f $(all) final-pres-tex.pdf final-pres.pdf *.log hireme.zip + +.tex.pdf: + $(PDFTEX) $< + +about-7factor.pdf: about-7factor.tex +cover-letter.pdf: cover-letter.tex +final-pres-tex.pdf: final-pres.tex + $(PDFTEX) -jobname final-pres-tex final-pres.tex +journal1.pdf: journal1.tex +journal2.pdf: journal2.tex +journal3.pdf: journal3.tex +journal4.pdf: journal4.tex +networking.pdf: networking.tex +resume.pdf: resume.tex + +final-pres.pdf: final-pres.odp + loffice --headless --convert-to pdf final-pres.odp + +final-pres.pptx: final-pres.odp + loffice --headless --convert-to pptx final-pres.odp + +final-pres-all.pdf: final-pres.pdf final-pres-tex.pdf + pdftk final-pres-tex.pdf final-pres.pdf output final-pres-all.pdf |