summaryrefslogtreecommitdiff
path: root/doc/asciidoc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/asciidoc/Makefile')
-rw-r--r--doc/asciidoc/Makefile27
1 files changed, 21 insertions, 6 deletions
diff --git a/doc/asciidoc/Makefile b/doc/asciidoc/Makefile
index 944c701..666d437 100644
--- a/doc/asciidoc/Makefile
+++ b/doc/asciidoc/Makefile
@@ -2,21 +2,36 @@
2# create manpages from the asciidoc files 2# create manpages from the asciidoc files
3# 3#
4 4
5SRC1 = fluxbox.txt fluxstyle.txt fluxbox-keys.txt fluxbox-remote.txt 5SRC1 = fluxbox.txt fluxbox-remote.txt fbrun.txt fbsetbg.txt fbsetroot.txt startfluxbox.txt
6SRC5 = fluxbox-keys.txt 6SRC5 = fluxbox-keys.txt fluxbox-apps.txt fluxbox-style.txt fluxbox-menu.txt
7 7
8MAN = $(SRC1:.txt=.1) $(SRC5:.txt=.5) 8MAN = $(SRC1:.txt=.1) $(SRC5:.txt=.5)
9MANdotIN = $(addsuffix .in,$(MAN))
10DISTFILES = $(addprefix ../,$(MANdotIN))
11
12all: $(MAN)
13
14dist: $(DISTFILES)
9 15
10all : $(MAN)
11clean: 16clean:
12 rm -fv $(MAN) 17 rm -fv $(MAN)
13 18
14%.xml : %.txt
15 asciidoc -b docbook -d manpage -o $@ $<
16
17%.1 : %.xml 19%.1 : %.xml
18 xmlto man $< 20 xmlto man $<
19 21
20%.5 : %.xml 22%.5 : %.xml
21 xmlto man $< 23 xmlto man $<
22 24
25../%.1.in: %.1
26 cp $< $@
27
28../%.5.in: %.5
29 cp $< $@
30
31%.xml : %.txt
32 asciidoc -b docbook -d manpage -o $@ $<
33
34# Dependencies:
35#
36# fluxbox-apps(5) and fluxbox-keys(5) both include client-patterns.txt
37fluxbox-keys.5 fluxbox-apps.5: client-patterns.txt