mirror of
https://github.com/Tha14/toxic.git
synced 2024-12-24 01:53:25 +01:00
11 lines
299 B
Makefile
11 lines
299 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
|