aboutsummaryrefslogtreecommitdiff
path: root/eindopdracht/makefile
blob: ce1e22b90d098ce7b36763960210fe0392e4dc0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
RM = rm -f
TARGET := eindopdracht
MD2LATEX = ../md2latex
QUERY_SQL += q5.sql

all: $(TARGET).md

nfs.csv: nfs.xlsx
	xlsx2csv -dtab -qnone $< | sed '1d' > $@

q5.sql: nfs.csv
	./import.js $< | cat b5.sql - > $@

clean::
	$(RM) q5.sql nfs.csv

include ../common.mk
include ../pdf.mk