This repository has been archived by the owner on Feb 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
53 lines (42 loc) · 1.66 KB
/
Makefile
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
41
42
43
44
45
46
47
48
49
50
51
52
53
all: img output/pact22-template.zip
mkdir -p output
python3 generate.py cfp.md > output/cfp-pact-2022.txt
set -e; for pg in pages/*.html; do \
python3 generate.py $${pg} > output/$${pg##pages/} ; \
done
cp -Rv static/* output/
output/pact22-template.zip: ./submission-template/pact22/pact22-template.tex
mkdir -p output
cd submission-template && zip ../$@ $$(git ls-files)
img: \
static/images-generated/chicago-skyline-800px.jpeg \
static/images-generated/illinois-wordmark.png \
static/images-generated/ieee-tcpp-logo-300px.png \
static/images-generated/huawei.png \
static/images-generated/qualcomm.png \
static/images-generated/headshot-diventra.jpg \
static/images-generated/headshot-srinivasan.jpg \
static/images-generated/headshot-chong.jpg
static/images-generated/chicago-skyline-800px.jpeg: image-src/pedro-lastra-Nyvq2juw4_o-unsplash.jpg
mkdir -p "./$(dir $@)"
gm convert -geometry 800x800 $< $@
static/images-generated/huawei.png: image-src/huawei-logo.png
mkdir -p "./$(dir $@)"
gm convert -geometry 300x300 $< $@
static/images-generated/qualcomm.png: image-src/qualcomm-logo.png
mkdir -p "./$(dir $@)"
gm convert -geometry 300x300 $< $@
static/images-generated/illinois-wordmark.png: image-src/illinois-wordmark-dark-letters.pdf
mkdir -p "./$(dir $@)"
gm convert -density 1000 -geometry 300x300 $< $@
static/images-generated/ieee-tcpp-logo-300px.png: image-src/ieee-tcpp-logo.png
mkdir -p "./$(dir $@)"
gm convert -geometry 300x300 $< $@
static/images-generated/headshot-%.jpg: image-src/headshot-%.jpg
mkdir -p "./$(dir $@)"
gm convert -geometry 300x300 $< $@
clean:
rm -Rf static/images-generated output
publish: all
./publish.sh
.PHONY: all