X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=oh-my-god.git;a=blobdiff_plain;f=am%2Fdocbook.am;fp=am%2Fdocbook.am;h=c573c461005a723a8d5a5a757fd71f0259e09a1a;hp=0000000000000000000000000000000000000000;hb=51fa2746ea4e611b0c24ae0ddb7a47131e11905d;hpb=dc9935984d6921aba89634cb8467bfbfe9064691 diff --git a/am/docbook.am b/am/docbook.am new file mode 100644 index 0000000..c573c46 --- /dev/null +++ b/am/docbook.am @@ -0,0 +1,24 @@ +DOCBOOK_STYLESHEET = \ + http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/chunk.xsl + +EXTRA_DIST = $(DOCBOOK_FILES) + +html-local: + "$(XmllintCmd)" \ + --noout \ + --xinclude \ + --postvalid \ + --noent \ + "$(srcdir)/$(DOCBOOK_MAIN)" + + "$(XsltprocCmd)" \ + --xinclude \ + --stringparam base.dir "html/" \ + --stringparam chunker.output.indent "yes" \ + --stringparam use.id.as.filename "yes" \ + --nonet \ + "$(DOCBOOK_STYLESHEET)" \ + "$(srcdir)/$(DOCBOOK_MAIN)" + +clean-local: + -rm -rf "html"