aboutsummaryrefslogtreecommitdiff
path: root/assignments/Makefile
diff options
context:
space:
mode:
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)/%,%,$@)