aboutsummaryrefslogtreecommitdiff
path: root/doc/asciidoc/Makefile
blob: 496a7d2908016de3a76ec2b9ce9363c17efe9f94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# create manpages from the asciidoc files
#

SRC1 = fluxbox.txt fluxbox.de.txt fluxbox.es.txt \
	  fluxstyle.txt fluxbox-keys.txt fluxbox-remote.txt
SRC5 = fluxbox-keys.txt

MAN = $(SRC1:.txt=.1) $(SRC5:.txt=.5)

all : $(MAN)
clean:
	rm -fv $(MAN)

%.xml : %.txt
	asciidoc -b docbook -d manpage -o $@ $<

%.1 : %.xml
	xmlto man $<

%.5 : %.xml
	xmlto man $<