aboutsummaryrefslogtreecommitdiff
path: root/doc/asciidoc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/asciidoc/Makefile')
-rw-r--r--doc/asciidoc/Makefile21
1 files changed, 15 insertions, 6 deletions
diff --git a/doc/asciidoc/Makefile b/doc/asciidoc/Makefile
index 646d415..95c5ee9 100644
--- a/doc/asciidoc/Makefile
+++ b/doc/asciidoc/Makefile
@@ -2,25 +2,34 @@
2# create manpages from the asciidoc files 2# create manpages from the asciidoc files
3# 3#
4 4
5SRC1 = fluxbox.txt fluxbox-keys.txt fluxbox-remote.txt 5SRC1 = fluxbox.txt fluxbox-remote.txt
6SRC5 = fluxbox-keys.txt fluxbox-apps.txt fluxbox-style.txt 6SRC5 = fluxbox-keys.txt fluxbox-apps.txt fluxbox-style.txt
7 7
8MAN = $(SRC1:.txt=.1) $(SRC5:.txt=.5) 8MAN = $(SRC1:.txt=.1.in) $(SRC5:.txt=.5.in)
9 9
10all : $(MAN) 10all: $(MAN)
11
12install-above: all
13 cp $(MAN) ../
11 14
12clean: 15clean:
13 rm -fv $(MAN) 16 rm -fv $(MAN)
14 17
15%.xml : %.txt
16 asciidoc -b docbook -d manpage -o $@ $<
17
18%.1 : %.xml 18%.1 : %.xml
19 xmlto man $< 19 xmlto man $<
20 20
21%.5 : %.xml 21%.5 : %.xml
22 xmlto man $< 22 xmlto man $<
23 23
24%.1.in: %.1
25 cp $< $@
26
27%.5.in: %.5
28 cp $< $@
29
30%.xml : %.txt
31 asciidoc -b docbook -d manpage -o $@ $<
32
24# Dependencies: 33# Dependencies:
25# 34#
26# fluxbox-apps(5) and fluxbox-keys(5) both include client-patterns.txt 35# fluxbox-apps(5) and fluxbox-keys(5) both include client-patterns.txt