[nautilus-actions] Fix HTML and PDF manuals cleanup



commit 89c9f09018ead2c266da4e1b0921db921fc98259
Author: Pierre Wieser <pwieser trychlos org>
Date:   Mon Aug 16 13:31:39 2010 +0200

    Fix HTML and PDF manuals cleanup

 ChangeLog            |    2 ++
 doc/nact/Makefile.am |   14 ++++++++++----
 2 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0aaaa66..d01bb90 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2010-08-16 Pierre Wieser <pwieser trychlos org>
 
+	* doc/nact/Makefile.am:	Fix manuals cleanup.
+
 	* src/core/na-icontext.c (is_candidate_for_schemes):
 	Remove wrong variable override.
 
diff --git a/doc/nact/Makefile.am b/doc/nact/Makefile.am
index 67cb590..a022bc8 100644
--- a/doc/nact/Makefile.am
+++ b/doc/nact/Makefile.am
@@ -213,13 +213,19 @@ uninstall-pdf-manuals:
 dist-pdf-manuals-hook:
 endif
 
-clean-local: clean-manuals
+clean-local: clean-html-manuals clean-pdf-manuals
 	rm -f *~
 	rm -f *.stamp
 
-distclean-local: clean-manuals
+distclean-local: clean-html-manuals clean-pdf-manuals
 
-clean-manuals:
+clean-html-manuals:
 	for lc in C $(_DOC_REAL_LINGUAS); do \
-		rm -fr $$lc; \
+		rm -fr $$lc/$(DOC_MODULE); \
+		rm -fr $$lc/$(DOC_MODULE).junk; \
+	done
+
+clean-pdf-manuals:
+	for lc in C $(_DOC_REAL_LINGUAS); do \
+		rm -f $$lc/*.pdf; \
 	done



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