1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-30 03:53:27 +01:00
toxic/cfg/targets/doc.mk

11 lines
301 B
Makefile
Raw Normal View History

2014-08-25 12:54:44 +02:00
# 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" $<) \
2014-08-26 10:39:43 +02:00
-a manmanual="Toxic Manual" -a mansource=toxic \
2014-08-25 12:54:44 +02:00
-a manversion=__VERSION__ -a datadir=__DATADIR__ $<
.PHONY: doc