12 lines
258 B
Makefile
12 lines
258 B
Makefile
|
.PHONY: spellcheck pdf
|
||
|
|
||
|
INPUT ?= cv.json
|
||
|
TIMESTAMP = $(shell date '+%Y-%m-%d_%H-%M')
|
||
|
OUTPUT ?= cv-DanAnglin-$(TIMESTAMP).pdf
|
||
|
|
||
|
spellcheck:
|
||
|
aspell -d en_GB -p ./.aspell/.aspell.en.pws list < $(INPUT)
|
||
|
|
||
|
pdf:
|
||
|
spruce generate --input $(INPUT) --output $(OUTPUT)
|