[emerillon-plugins: 2/4] Sample-Vala: Require valac



commit 3b6cde348d0deb69c19c57d2a2a77107e58b34dd
Author: Simon Wenner <simon wenner ch>
Date:   Sat May 8 17:59:22 2010 +0200

    Sample-Vala: Require valac

 configure.ac                    |    2 +-
 plugins/sample-vala/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index fd444be..048dc04 100644
--- a/configure.ac
+++ b/configure.ac
@@ -297,7 +297,7 @@ then
 		[],[have_sample-vala_deps=no])
 	AC_SUBST(SAMPLEVALA_LIBS)
 	AC_SUBST(SAMPLEVALA_CFLAGS)
-	if test "x$have_sample-vala_deps" = "xno"
+	if test "x$have_sample-vala_deps" = "xno" -o "x$VALAC" = "x"
 	then
 		undef_plugin sample-vala "Sample-Vala plugin dependencies not satisfied."
 	fi
diff --git a/plugins/sample-vala/Makefile.am b/plugins/sample-vala/Makefile.am
index b8d2fa5..1092f94 100644
--- a/plugins/sample-vala/Makefile.am
+++ b/plugins/sample-vala/Makefile.am
@@ -49,7 +49,7 @@ plugin_DATA = $(plugin_in_files:.emerillon-plugin.in=.emerillon-plugin)
 EXTRA_DIST = $(plugin_in_files)
 
 CLEANFILES = $(plugin_DATA)	\
-	samplevala.vala.stamp	\
+	$(BUILT_SOURCES)	\
 	$(libsamplevala_la_VALASOURCES:.vala=.c)
 
 DISTCLEANFILES = $(plugin_DATA)



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