use $(LIBENSCVECTOR) instead of libensc_vector.a
[util-vserver.git] / util-vserver / doc / Makefile-files
index 2848343..ed4631b 100644 (file)
@@ -17,8 +17,7 @@
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 ##  
 
-doc_old_doc =                  doc/FAQ.txt \
-                               doc/intro.txt
+doc_old_doc =                  doc/intro.txt
 
 XSLT_AMFLAGS =                 --stringparam confdir '$(sysconfdir)/vservers'
 XSLTP_AMFLAGS =                        -param confdir '$(sysconfdir)/vservers'
@@ -27,8 +26,9 @@ doc_gen_DOCS =                        doc/configuration.html \
                                doc/compatibility.html
 
 doc_configuration_SRCS =       doc/configuration.xml \
+                               doc/configuration.xsd \
                                doc/configuration.dtd \
-                               doc/configuration-lsd.css \
+                               doc/configuration.css \
                                doc/configuration-xhtml.xsl
 
 doc_compatibility_SRCS =       doc/compatibility.xml \
@@ -40,7 +40,7 @@ EXTRA_DIST +=                 $(doc_compatibility_SRCS) \
                                $(doc_old_doc) \
                                $(doc_gen_DOCS)
 
-CLEANFILES +=                  $(doc_gen_DOCS) doc/*.raw.html* doc/*.html.tmp
+CLEANFILES +=                  doc/*.raw.html* doc/*.html.tmp
 
 doc/configuration.html:                STYLESHEET=$(srcdir)/doc/configuration-xhtml.xsl
 doc/configuration.html:                $(srcdir)/doc/configuration-xhtml.xsl
@@ -52,7 +52,17 @@ doc:                         doc_doc
 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