make creating manpages easier

This commit is contained in:
Mathias Gumz 2008-08-20 08:06:14 +02:00
parent 75850d8b60
commit 2df0e67ca5

19
doc/asciidoc/Makefile Normal file
View file

@ -0,0 +1,19 @@
#
# create manpages from the asciidoc files
#
SRC = fluxbox.txt fluxbox.de.txt fluxbox.es.txt \
fluxstyle.txt fluxbox-keys.txt fluxbox-remote.txt
MAN = $(SRC:.txt=.1)
all : $(MAN)
clean:
rm -fv $(MAN)
%.xml : %.txt
asciidoc -b docbook -d manpage -o $@ $<
%.1 : %.xml
xmlto man $<