diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/asciidoc/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/asciidoc/Makefile b/doc/asciidoc/Makefile new file mode 100644 index 0000000..0c1cb56 --- /dev/null +++ b/doc/asciidoc/Makefile | |||
@@ -0,0 +1,19 @@ | |||
1 | # | ||
2 | # create manpages from the asciidoc files | ||
3 | # | ||
4 | |||
5 | SRC = fluxbox.txt fluxbox.de.txt fluxbox.es.txt \ | ||
6 | fluxstyle.txt fluxbox-keys.txt fluxbox-remote.txt | ||
7 | |||
8 | MAN = $(SRC:.txt=.1) | ||
9 | |||
10 | all : $(MAN) | ||
11 | clean: | ||
12 | rm -fv $(MAN) | ||
13 | |||
14 | %.xml : %.txt | ||
15 | asciidoc -b docbook -d manpage -o $@ $< | ||
16 | |||
17 | %.1 : %.xml | ||
18 | xmlto man $< | ||
19 | |||