summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-03-14 13:58:26 +0100
committerHarald Hoyer <harald@redhat.com>2012-03-14 15:48:33 +0100
commit888d53f270a1a163460d764c886c23f2f276c035 (patch)
tree7a475c68f62e9ca8456badbf60afbfe81266e038 /Makefile
parentdc824f19943d31bfba33f017be63e0c8ed74bb47 (diff)
downloaddracut-888d53f270a1a163460d764c886c23f2f276c035.tar.gz
dracut-888d53f270a1a163460d764c886c23f2f276c035.tar.bz2
dracut-888d53f270a1a163460d764c886c23f2f276c035.zip
replace xml documentation with asciidoc
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d79b2b0a..bd27d06c 100644
--- a/Makefile
+++ b/Makefile
@@ -19,11 +19,16 @@ all: syncheck
%: %.xml
xsltproc -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
-dracut.html: dracut.xml $(manpages)
+%.xml: %.asc
+ asciidoc -d manpage -b docbook -o $@ $<
+
+dracut.html: dracut.asc $(manpages)
+ asciidoc -a numbered -d book -b docbook -o dracut.xml dracut.asc
xsltproc -o dracut.html --xinclude -nonet \
--stringparam draft.mode yes \
--stringparam html.stylesheet http://docs.redhat.com/docs/en-US/Common_Content/css/default.css \
http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl dracut.xml
+ rm dracut.xml
install: doc
mkdir -p $(DESTDIR)$(pkglibdir)