Add pdf/html targets for convenience

This commit is contained in:
Matthias Beyer 2016-01-08 12:01:22 +01:00
parent 8d4bb2a88b
commit c2ad295522

View file

@ -117,12 +117,15 @@ clean:
@$(ECHO) "\t[RM ] $@" @$(ECHO) "\t[RM ] $@"
@$(RM) $(OUT) @$(RM) $(OUT)
pdf: $(TARGET_PDF)
$(TARGET_PDF): $(OUT_PDF) $(TARGET_PDF): $(OUT_PDF)
@$(ECHO) "\t[PANDOC] pdf" @$(ECHO) "\t[PANDOC] pdf"
@$(PANDOC_CC_PDF) \ @$(PANDOC_CC_PDF) \
--template $(TEMPLATES)/default.latex \ --template $(TEMPLATES)/default.latex \
$(SRC) -o $@ $(SRC) -o $@
html: $(TARGET_HTML)
$(TARGET_HTML): $(OUT_HTML) $(TARGET_HTML): $(OUT_HTML)
@$(ECHO) "\t[PANDOC] html" @$(ECHO) "\t[PANDOC] html"