mirror of
https://github.com/Tha14/toxic.git
synced 2024-10-05 06:25:36 +02:00
11 lines
301 B
Makefile
11 lines
301 B
Makefile
|
# Doc target
|
||
|
doc: $(MANFILES:%=$(DOC_DIR)/%)
|
||
|
|
||
|
$(DOC_DIR)/%: $(DOC_DIR)/%.asc
|
||
|
@echo " MAN $(@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__ $<
|
||
|
|
||
|
.PHONY: doc
|