X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fdoc%2FMakefile-files;h=ed4631b328b85e8cc361cce60c99fd45ab1456b0;hb=faa778968d1a7dfeaebc9fe4b847e691dc62fd15;hp=f0f80af70f42c09b718ed23af0b75ecfc7d0a44d;hpb=15119768943acfbf92ecae8bdf7cee78bd528315;p=util-vserver.git 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