From: Enrico Scholz Date: Sat, 19 Mar 2005 01:59:47 +0000 (+0000) Subject: (re)added xsltproc support X-Git-Tag: IPSENTINEL_VERSION_0_12~64 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d97e996e5c1059ce338e1b08634d4ea811df84c5;p=util-vserver.git (re)added xsltproc support git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1930 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/doc/Makefile-files b/util-vserver/doc/Makefile-files index f0f80af..ed4631b 100644 --- a/util-vserver/doc/Makefile-files +++ b/util-vserver/doc/Makefile-files @@ -27,6 +27,7 @@ doc_gen_DOCS = doc/configuration.html \ doc_configuration_SRCS = doc/configuration.xml \ doc/configuration.xsd \ + doc/configuration.dtd \ doc/configuration.css \ doc/configuration-xhtml.xsl @@ -53,6 +54,15 @@ doc_doc: $(doc_gen_DOCS) if HAVE_XSLTP CLEANFILES += $(doc_gen_DOCS) %.html: %.xml $(STYLESHEET) + @-rm -f '$@.tmp' '$@' LANG=C $(XSLTP) $(XSLTP_AMFLAGS) -in '$<' -xsl $(STYLESHEET) -out '$@.tmp' @mv -f '$@.tmp' '$@' -endif +else !HAVE_XSLTP +if HAVE_XSLTPROC +CLEANFILES += $(doc_gen_DOCS) +%.html: %.xml $(STYLESHEET) + @-rm -f '$@.tmp' '$@' + $(XSLTPROC) $(XSLT_FLAGS) $(XSLT_AMFLAGS) -o '$@.tmp' "$(STYLESHEET)" "$<" + @mv -f '$@.tmp' '$@' +endif HAVE_XSLTPROC +endif !HAVE_XSLTP