From 7fe4e05705b4df82e8d710e432cb8f5fb79222bf Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 27 Apr 2018 01:46:46 +0200 Subject: wip --- assignments/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'assignments/Makefile') 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)/%,%,$@) -- cgit v1.2.3