summaryrefslogtreecommitdiff
path: root/manpages/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 15:11:09 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:31:05 +0100
commit6ee6bc6eea2b2e28ff801bd2f70b61dae9ff6c1a (patch)
treec9ba9f93570176f2c452cf1a5fe4084c4aa3b6a8 /manpages/Makefile
parentb492b07660d55b15f8dbcd21106ab59e848331ca (diff)
downloadlive-boot-6ee6bc6eea2b2e28ff801bd2f70b61dae9ff6c1a.tar.gz
live-boot-6ee6bc6eea2b2e28ff801bd2f70b61dae9ff6c1a.zip
Applied patch from Michael Prokop <mika@grml.org> to switch to asciidoc for documentation.
Diffstat (limited to 'manpages/Makefile')
-rw-r--r--manpages/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/manpages/Makefile b/manpages/Makefile
new file mode 100644
index 0000000..5d29263
--- /dev/null
+++ b/manpages/Makefile
@@ -0,0 +1,21 @@
+all: doc
+
+doc: doc_man doc_html
+
+doc_html: html-stamp
+
+html-stamp: live-initramfs.en.7.txt
+ asciidoc -b xhtml11 -a icons live-initramfs.en.7.txt
+ touch html-stamp
+
+doc_man: man-stamp
+
+man-stamp: live-initramfs.en.7.txt
+
+ asciidoc -d manpage -b docbook live-initramfs.en.7.txt
+ xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl live-initramfs.en.7.xml
+ mv live-initramfs.7 live-initramfs.en.7
+ touch man-stamp
+
+clean:
+ rm -f live-initramfs.en.7.html live-initramfs.en.7.xml live-initramfs.en.7 html-stamp man-stamp