[libvirt] [PATCH] docs: remove all generated doc files when a clean target is used

Justin Clift jclift at redhat.com
Fri Jul 16 11:30:26 UTC 2010

Properly removes all of the generated .html and .xml files in the docs
area with make clean and make maintainer-clean.  Otherwise they're just
left there and get in the way when working on docs.

 docs/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/Makefile.am b/docs/Makefile.am
index a6a6d07..463a466 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -150,10 +150,10 @@ $(python_generated_files): $(srcdir)/apibuild.py \
 check-local: all
-	rm -f *~ *.bak *.hierarchy *.signals *-unused.txt *.html
+	rm -f *~ *.bak *.hierarchy *.signals *-unused.txt *.html html/index.html \
+	$(devhelphtml) $(python_generated_files)
 maintainer-clean-local: clean-local
-	rm -rf libvirt-api.xml libvirt-refs.xml
 rebuild: api all

More information about the libvir-list mailing list