aboutsummaryrefslogtreecommitdiff
path: root/assignments/Makefile
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-04-27 01:46:46 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-04-27 01:46:46 +0200
commit7fe4e05705b4df82e8d710e432cb8f5fb79222bf (patch)
tree1907b081a3424a7c51db4dc5c327005d50838aa8 /assignments/Makefile
parentc0d3e968f8ec64a6d43591b87d57bb5112764aa0 (diff)
downloadiot-workshop-7fe4e05705b4df82e8d710e432cb8f5fb79222bf.tar.gz
iot-workshop-7fe4e05705b4df82e8d710e432cb8f5fb79222bf.tar.bz2
iot-workshop-7fe4e05705b4df82e8d710e432cb8f5fb79222bf.tar.xz
iot-workshop-7fe4e05705b4df82e8d710e432cb8f5fb79222bf.zip
wip
Diffstat (limited to 'assignments/Makefile')
-rw-r--r--assignments/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/assignments/Makefile b/assignments/Makefile
index 6d31568..ad3e8be 100644
--- a/assignments/Makefile
+++ b/assignments/Makefile
@@ -16,10 +16,10 @@ endef
$(eval $(foreach A,$(AS),$(call $(A_PATTERN),$(A))))
clean:
- @rm $(wildcard $(PDFS))
+ @rm -f $(wildcard $(PDFS))
%.pdf: %.md
@echo pandoc $<
- @cd $(dir $<); pandoc $(notdir $<) -o $(notdir $@)
+ @pandoc --resource-path=$(dir $<) -f markdown -o $@ < $<
#$(patsubst )/%,%,$<) -o $(patsubst $(DIR)/%,%,$@)