[vala] Remove generated .c files on make maintainer-clean



commit 8faaee83186459e0a77e33342f9a8011c39fa49b
Author: Jürg Billeter <j bitron ch>
Date:   Tue Apr 14 17:16:20 2009 +0200

    Remove generated .c files on make maintainer-clean
    
    Fixes bug 509146.
---
 ccode/Makefile.am    |    7 +++++++
 compiler/Makefile.am |    5 +++++
 gee/Makefile.am      |    7 +++++++
 gobject/Makefile.am  |    7 +++++++
 vala/Makefile.am     |    7 +++++++
 vapigen/Makefile.am  |    6 ++++++
 6 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/ccode/Makefile.am b/ccode/Makefile.am
index 6815c1a..f67c348 100644
--- a/ccode/Makefile.am
+++ b/ccode/Makefile.am
@@ -83,3 +83,10 @@ libvalaccode_la_LIBADD = \
 	$(NULL)
 
 EXTRA_DIST = $(libvalaccode_la_VALASOURCES) ccode.vapi ccode.vala.stamp
+
+MAINTAINERCLEANFILES = \
+	ccode.vapi \
+	valaccode.h \
+	$(libvalaccode_la_VALASOURCES:.vala=.c) \
+	$(NULL)
+
diff --git a/compiler/Makefile.am b/compiler/Makefile.am
index a928231..a50bd40 100644
--- a/compiler/Makefile.am
+++ b/compiler/Makefile.am
@@ -35,3 +35,8 @@ valac_LDADD = \
 	$(NULL)
 
 EXTRA_DIST = $(valac_VALASOURCES) valac.vala.stamp
+
+MAINTAINERCLEANFILES = \
+	$(valac_VALASOURCES:.vala=.c) \
+	$(NULL)
+
diff --git a/gee/Makefile.am b/gee/Makefile.am
index 3163178..a1b419a 100644
--- a/gee/Makefile.am
+++ b/gee/Makefile.am
@@ -47,3 +47,10 @@ libgee_la_LIBADD = \
 	$(NULL)
 
 EXTRA_DIST = $(libgee_la_VALASOURCES) gee.vapi gee.vala.stamp
+
+MAINTAINERCLEANFILES = \
+	gee.vapi \
+	gee.h \
+	$(libgee_la_VALASOURCES:.vala=.c) \
+	$(NULL)
+
diff --git a/gobject/Makefile.am b/gobject/Makefile.am
index a6c7ac7..0c7a1e4 100644
--- a/gobject/Makefile.am
+++ b/gobject/Makefile.am
@@ -65,3 +65,10 @@ libvala_la_LIBADD = \
 	$(NULL)
 
 EXTRA_DIST = $(libvala_la_VALASOURCES) gobject.vapi gobject.vala.stamp
+
+MAINTAINERCLEANFILES = \
+	gobject.vapi \
+	valagobject.h \
+	$(libvala_la_VALASOURCES:.vala=.c) \
+	$(NULL)
+
diff --git a/vala/Makefile.am b/vala/Makefile.am
index 0f475b4..4cffa3e 100644
--- a/vala/Makefile.am
+++ b/vala/Makefile.am
@@ -173,3 +173,10 @@ libvalacore_la_LIBADD = \
 	$(NULL)
 
 EXTRA_DIST = $(libvalacore_la_VALASOURCES) vala.vapi vala.vala.stamp
+
+MAINTAINERCLEANFILES = \
+	vala.vapi \
+	vala.h \
+	$(libvalacore_la_VALASOURCES:.vala=.c) \
+	$(NULL)
+
diff --git a/vapigen/Makefile.am b/vapigen/Makefile.am
index da522e4..83fccfa 100644
--- a/vapigen/Makefile.am
+++ b/vapigen/Makefile.am
@@ -65,3 +65,9 @@ vapicheck_LDADD = \
 	$(NULL)
 
 EXTRA_DIST = $(vapigen_VALASOURCES) $(vapicheck_VALASOURCES) vapigen.vala.stamp vapicheck.vala.stamp
+
+MAINTAINERCLEANFILES = \
+	$(vapigen_VALASOURCES:.vala=.c) \
+	$(vapicheck_VALASOURCES:.vala=.c) \
+	$(NULL)
+



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