mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-19 00:36:36 +02:00
Reworked manpage build system
This commit is contained in:
12
doc/Makefile
12
doc/Makefile
@ -1,12 +0,0 @@
|
||||
MANFILES = toxic.1 toxic.conf.5
|
||||
|
||||
# Targets
|
||||
doc: $(MANFILES)
|
||||
|
||||
%: %.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__ $<
|
||||
|
||||
.PHONY: doc
|
Reference in New Issue
Block a user