blob: 05c0f5501c5cd504413feff6a4a3d9d752e16a6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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 internship-review.pdf
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 "-env:UserInstallation=file:///tmp/p0" --headless --convert-to pdf final-pres.odp
final-pres.pptx: final-pres.odp
loffice "-env:UserInstallation=file:///tmp/p1" --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
|