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

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]