mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-20 05:06:35 +02:00
doc: Make asciidoc extra optional.
Completely separate man page generation from the main build to satisfy travis-ci behaviour. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
@ -69,12 +69,6 @@ toxic: $(OBJ)
|
||||
|
||||
doc: $(MANFILES:%=$(DOC_DIR)/%)
|
||||
|
||||
$(DOC_DIR)/%: $(DOC_DIR)/%.asc
|
||||
@echo " Generating man page $(@F)"
|
||||
@a2x -f manpage -a revdate=$(shell git log -1 --date=short --format="%ad" $<) \
|
||||
-a manmanual="toxic manual" -a mansource=toxic \
|
||||
-a manversion=__VERSION__ -a datadir=__DATADIR__ $<
|
||||
|
||||
clean:
|
||||
rm -rf *.d *.o toxic
|
||||
rm -rf $(MANFILES)
|
||||
|
Reference in New Issue
Block a user