diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-06-10 15:07:23 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-06-10 15:07:23 +0200 |
commit | f5a1bb1be989e7fb23a4872aff6ad74da6176fa9 (patch) | |
tree | e49fdd6060060534a838f271b6ebc1dc429ba4a0 /prep/Makefile | |
parent | cb0a365c25cfb60f5c7c073232e5c6bef9fc9064 (diff) | |
download | iot-workshop-ndc-2018-f5a1bb1be989e7fb23a4872aff6ad74da6176fa9.tar.gz iot-workshop-ndc-2018-f5a1bb1be989e7fb23a4872aff6ad74da6176fa9.tar.bz2 iot-workshop-ndc-2018-f5a1bb1be989e7fb23a4872aff6ad74da6176fa9.tar.xz iot-workshop-ndc-2018-f5a1bb1be989e7fb23a4872aff6ad74da6176fa9.zip |
wip
Diffstat (limited to 'prep/Makefile')
-rw-r--r-- | prep/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/prep/Makefile b/prep/Makefile new file mode 100644 index 0000000..107fdd6 --- /dev/null +++ b/prep/Makefile @@ -0,0 +1,15 @@ +MARKDOWNS = prep.md +BUILD := build + +RUN_PP=pp + +prep.pdf: prep.md $(filter-out prep.md,$(MARKDOWNS)) + pandoc -o $@ $^ + +$(BUILD)/%.md.d: %.md Makefile | $(BUILD) + $(RUN_PP) -M $< < $< > $@ + +$(BUILD): + mkdir $@ + +-include $(MARKDOWNS:%.md=$(BUILD)/%.md.d) |