git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1930
94cd875c-1c1d-0410-91d2-
eb244daf1a30
doc_configuration_SRCS = doc/configuration.xml \
doc/configuration.xsd \
+ doc/configuration.dtd \
doc/configuration.css \
doc/configuration-xhtml.xsl
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