[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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
 
 clean-local:
-	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
 
-- 
1.7.1.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]