-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
32 lines (21 loc) · 676 Bytes
/
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
CC = python3
CFLAGS = -m mwb
.PHONY: all pages/papers
DEBUG =
TARGET = /usr/share/nginx/midl2023
$(TARGET): FORCE
rm -rf $@
$(CC) $(CFLAGS) . $@ $(DEBUG)
# chmod -R +x $@
all: papers.json pages/papers pages/program.md pages/virtual_event.md $(TARGET)
papers.json: full_papers.csv short_papers.csv
$(CC) csv2json.py
pages/papers: pages/papers/paper.template papers.json
$(CC) generate_papers.py $^ $(@D)
pages/program.md: pages/program.txt papers.json
$(CC) gen_scientific_program.py $^ $@
pages/virtual_event.md: pages/virtual_event.txt papers.json
$(CC) gen_virtual_program.py $^ $@
MIDL2023.bib: papers.json FORCE
$(CC) gen_bib_proceedings.py $< $@
FORCE: