diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2008-08-20 06:06:14 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2008-08-20 06:06:14 (GMT) |
commit | 2df0e67ca506448996a83b47a3eb77360712f4cc (patch) | |
tree | 3282886cff4e3fcecb23e65a2f084789739d32f0 | |
parent | 75850d8b604b8d35350f7eb535213eecf10beefc (diff) | |
download | fluxbox_paul-2df0e67ca506448996a83b47a3eb77360712f4cc.zip fluxbox_paul-2df0e67ca506448996a83b47a3eb77360712f4cc.tar.bz2 |
make creating manpages easier
-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 | |||