1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-25 08:43:02 +01:00
toxic/cfg/targets/doc.mk

11 lines
299 B
Makefile
Raw Permalink Normal View History

2014-08-25 12:54:44 +02:00
# Doc target
doc: $(MANFILES:%=$(DOC_DIR)/%)
2014-08-25 12:54:44 +02:00
$(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__ $<
2014-08-25 12:54:44 +02:00
.PHONY: doc