From 2df0e67ca506448996a83b47a3eb77360712f4cc Mon Sep 17 00:00:00 2001 From: Mathias Gumz Date: Wed, 20 Aug 2008 08:06:14 +0200 Subject: make creating manpages easier --- doc/asciidoc/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 doc/asciidoc/Makefile 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 @@ +# +# create manpages from the asciidoc files +# + +SRC = fluxbox.txt fluxbox.de.txt fluxbox.es.txt \ + fluxstyle.txt fluxbox-keys.txt fluxbox-remote.txt + +MAN = $(SRC:.txt=.1) + +all : $(MAN) +clean: + rm -fv $(MAN) + +%.xml : %.txt + asciidoc -b docbook -d manpage -o $@ $< + +%.1 : %.xml + xmlto man $< + -- cgit v0.11.2