remove *.html only, when we can recreate them
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 23 Apr 2004 14:03:42 +0000 (14:03 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 23 Apr 2004 14:03:42 +0000 (14:03 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1510 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/doc/Makefile-files

index 59aface..73d2631 100644 (file)
@@ -39,7 +39,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
@@ -51,6 +51,7 @@ doc:                          doc_doc
 doc_doc:                       $(doc_gen_DOCS)
 
 if HAVE_XSLTP
+CLEANFILES +=                  $(doc_gen_DOCS)
 %.html:                                %.xml $(STYLESHEET)
                                LANG=C $(XSLTP) $(XSLTP_AMFLAGS) -in '$<' -xsl $(STYLESHEET) -out '$@.tmp'
                                @mv -f '$@.tmp' '$@'