fluxbox/doc/asciidoc/Makefile

52 lines
726 B
Makefile
Raw Normal View History

2008-08-20 06:06:14 +00:00
#
# create manpages from the asciidoc files
#
SRC1 = \
fbrun.txt \
fbsetbg.txt \
fbsetroot.txt \
fluxbox-remote.txt \
fluxbox.txt \
startfluxbox.txt
SRC5 = \
fluxbox-apps.txt \
fluxbox-keys.txt \
fluxbox-menu.txt \
fluxbox-style.txt
MAN = \
$(SRC1:.txt=.1) \
$(SRC5:.txt=.5)
2008-08-20 06:06:14 +00:00
MANdotIN = $(addsuffix .in,$(MAN))
DISTFILES = $(addprefix ../,$(MANdotIN))
2008-08-20 06:06:14 +00:00
all: $(MAN)
dist: $(DISTFILES)
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 $<
../%.1.in: %.1
cp $< $@
../%.5.in: %.5
cp $< $@
%.xml : %.txt
asciidoc -b docbook -d manpage -o $@ $<
# Dependencies:
#
# fluxbox-apps(5) and fluxbox-keys(5) both include client-patterns.txt
fluxbox-keys.5 fluxbox-apps.5: client-patterns.txt