[libgda] Don't delete figures when running "make clean"



commit 546c2c722bbbcd7f3e063c52f1a6bf63984b5b23
Author: Vivien Malerba <malerba gnome-db org>
Date:   Tue May 8 21:16:28 2012 +0200

    Don't delete figures when running "make clean"
    
    and when compilation occurs in the same directory as sources

 doc/mallard/gda-vala/C/Makefile.am |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/doc/mallard/gda-vala/C/Makefile.am b/doc/mallard/gda-vala/C/Makefile.am
index 61eb05d..09f0984 100644
--- a/doc/mallard/gda-vala/C/Makefile.am
+++ b/doc/mallard/gda-vala/C/Makefile.am
@@ -45,5 +45,7 @@ EXTRA_DIST = \
 
 CLEANFILES = \
 	$(DOC_PAGES:.page=.html) \
-	$(JS_FILES) \
-	$(DOC_FIGURES)
+	$(JS_FILES)
+
+clean-local:
+	if test x${srcdir} != x$(builddir); then rm -rf $(builddir)/figures; fi



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