Applied patch from Michael Prokop <mika@grml.org> to switch to asciidoc for documenta...
[live-boot-grml.git] / manpages / Makefile
1 all: doc
2
3 doc: doc_man doc_html
4
5 doc_html: html-stamp
6
7 html-stamp: live-initramfs.en.7.txt
8         asciidoc -b xhtml11 -a icons live-initramfs.en.7.txt
9         touch html-stamp
10
11 doc_man: man-stamp
12
13 man-stamp: live-initramfs.en.7.txt
14
15         asciidoc -d manpage -b docbook live-initramfs.en.7.txt
16         xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl live-initramfs.en.7.xml
17         mv live-initramfs.7 live-initramfs.en.7
18         touch man-stamp
19
20 clean:
21         rm -f live-initramfs.en.7.html live-initramfs.en.7.xml live-initramfs.en.7 html-stamp man-stamp