diff options
Diffstat (limited to 'doc/asciidoc')
-rw-r--r-- | doc/asciidoc/Makefile | 21 |
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 | ||
5 | SRC1 = fluxbox.txt fluxbox-keys.txt fluxbox-remote.txt | 5 | SRC1 = fluxbox.txt fluxbox-remote.txt |
6 | SRC5 = fluxbox-keys.txt fluxbox-apps.txt fluxbox-style.txt | 6 | SRC5 = fluxbox-keys.txt fluxbox-apps.txt fluxbox-style.txt |
7 | 7 | ||
8 | MAN = $(SRC1:.txt=.1) $(SRC5:.txt=.5) | 8 | MAN = $(SRC1:.txt=.1.in) $(SRC5:.txt=.5.in) |
9 | 9 | ||
10 | all : $(MAN) | 10 | all: $(MAN) |
11 | |||
12 | install-above: all | ||
13 | cp $(MAN) ../ | ||
11 | 14 | ||
12 | clean: | 15 | clean: |
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 |