make creating manpages easier
This commit is contained in:
parent
75850d8b60
commit
2df0e67ca5
1 changed files with 19 additions and 0 deletions
19
doc/asciidoc/Makefile
Normal file
19
doc/asciidoc/Makefile
Normal 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 $<
|
||||
|
Loading…
Reference in a new issue