Define tasks for manpage generation
Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
This commit is contained in:
parent
9c6a9b5eed
commit
2760e30d6c
1 changed files with 12 additions and 0 deletions
12
doc/Makefile
12
doc/Makefile
|
@ -124,6 +124,11 @@ $(OUT_PDF): $(OUT)
|
||||||
@$(ECHO) "\t[MKDIR ] $@"
|
@$(ECHO) "\t[MKDIR ] $@"
|
||||||
@$(MKDIR) $(OUT_PDF)
|
@$(MKDIR) $(OUT_PDF)
|
||||||
|
|
||||||
|
# create man out directory
|
||||||
|
$(OUT_MAN): $(OUT)
|
||||||
|
@$(ECHO) "\t[MKDIR ] $@"
|
||||||
|
@$(MKDIR) $(OUT_MAN)
|
||||||
|
|
||||||
# cleanup task
|
# cleanup task
|
||||||
clean:
|
clean:
|
||||||
@$(ECHO) "\t[RM ] $@"
|
@$(ECHO) "\t[RM ] $@"
|
||||||
|
@ -145,5 +150,12 @@ $(TARGET_HTML): $(OUT_HTML)
|
||||||
--template $(TEMPLATES)/default.html5 \
|
--template $(TEMPLATES)/default.html5 \
|
||||||
$(SRC) -o $@
|
$(SRC) -o $@
|
||||||
|
|
||||||
|
man: $(TARGET_MAN)
|
||||||
|
|
||||||
|
$(TARGET_MAN): $(OUT_MAN)
|
||||||
|
@$(ECHO) "\t[PANDOC] man"
|
||||||
|
@$(PANDOC_CC_MAN) \
|
||||||
|
$(SRC) -o $@
|
||||||
|
|
||||||
.PHONY: $(TARGET_PDF) $(TARGET_HTML)
|
.PHONY: $(TARGET_PDF) $(TARGET_HTML)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue