diff options
author | Harald Hoyer <harald@redhat.com> | 2012-03-14 13:58:26 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2012-03-14 15:48:33 +0100 |
commit | 888d53f270a1a163460d764c886c23f2f276c035 (patch) | |
tree | 7a475c68f62e9ca8456badbf60afbfe81266e038 /Makefile | |
parent | dc824f19943d31bfba33f017be63e0c8ed74bb47 (diff) | |
download | dracut-888d53f270a1a163460d764c886c23f2f276c035.tar.gz dracut-888d53f270a1a163460d764c886c23f2f276c035.tar.bz2 dracut-888d53f270a1a163460d764c886c23f2f276c035.zip |
replace xml documentation with asciidoc
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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) |