use $(LIBENSCVECTOR) instead of libensc_vector.a
[util-vserver.git] / util-vserver / doc / Makefile-files
index c6b3ada..ed4631b 100644 (file)
@@ -27,13 +27,9 @@ doc_gen_DOCS =                       doc/configuration.html \
 
 doc_configuration_SRCS =       doc/configuration.xml \
                                doc/configuration.xsd \
-                               doc/configuration-flowers.css \
-                               doc/configuration-lsd.css \
-                               doc/configuration-lsd1.css \
-                               doc/configuration-xhtml.xsl \
-                               doc/flowers.png \
-                               doc/flowers1.png \
-                               doc/flowers2.png
+                               doc/configuration.dtd \
+                               doc/configuration.css \
+                               doc/configuration-xhtml.xsl
 
 doc_compatibility_SRCS =       doc/compatibility.xml \
                                doc/compatibility.dtd \
@@ -58,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