2008-08-20 06:06:14 +00:00
|
|
|
#
|
|
|
|
# create manpages from the asciidoc files
|
|
|
|
#
|
|
|
|
|
2009-02-18 20:31:41 +00:00
|
|
|
SRC1 = fluxbox.txt fluxbox-remote.txt fbrun.txt fbsetbg.txt fbsetroot.txt startfluxbox.txt
|
2009-02-18 02:29:06 +00:00
|
|
|
SRC5 = fluxbox-keys.txt fluxbox-apps.txt fluxbox-style.txt fluxbox-menu.txt
|
2008-08-20 06:06:14 +00:00
|
|
|
|
2009-02-18 01:52:35 +00:00
|
|
|
MAN = $(SRC1:.txt=.1.in) $(SRC5:.txt=.5.in)
|
2008-08-20 06:06:14 +00:00
|
|
|
|
2009-02-18 01:52:35 +00:00
|
|
|
all: $(MAN)
|
|
|
|
|
|
|
|
install-above: all
|
|
|
|
cp $(MAN) ../
|
2009-02-10 14:00:11 +00:00
|
|
|
|
2008-08-20 06:06:14 +00:00
|
|
|
clean:
|
|
|
|
rm -fv $(MAN)
|
|
|
|
|
|
|
|
%.1 : %.xml
|
|
|
|
xmlto man $<
|
|
|
|
|
2008-08-20 18:46:11 +00:00
|
|
|
%.5 : %.xml
|
|
|
|
xmlto man $<
|
|
|
|
|
2009-02-18 01:52:35 +00:00
|
|
|
%.1.in: %.1
|
|
|
|
cp $< $@
|
|
|
|
|
|
|
|
%.5.in: %.5
|
|
|
|
cp $< $@
|
|
|
|
|
|
|
|
%.xml : %.txt
|
|
|
|
asciidoc -b docbook -d manpage -o $@ $<
|
|
|
|
|
2009-02-10 14:00:11 +00:00
|
|
|
# Dependencies:
|
|
|
|
#
|
|
|
|
# fluxbox-apps(5) and fluxbox-keys(5) both include client-patterns.txt
|
|
|
|
fluxbox-keys.5 fluxbox-apps.5: client-patterns.txt
|