Add pdf/html targets for convenience
This commit is contained in:
parent
8d4bb2a88b
commit
c2ad295522
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue