[totem] Fix distcheck for the sample-vala plugin



commit d165d5727d9b73b0935e1156e65a01c877deba8e
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sun Sep 5 12:05:40 2010 +0100

    Fix distcheck for the sample-vala plugin
    
    Now that it's been ported to automake 1.11's Vala support, it's more obvious
    that the ENABLE_VALA check doesn't belong in the Makefile. The plugin will be
    built if Vala support is enabled, and won't be built if it's disabled.
    
    Of course, distcheck is still broken, as it tries to build the sample-vala
    plugin. This is correct, since we should distribute the C files for the Vala
    plugin, rather than the Vala files, but since Vala support (bindings) haven't
    been re-added to Totem, distcheck fails.

 src/plugins/sample-vala/Makefile.am |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/sample-vala/Makefile.am b/src/plugins/sample-vala/Makefile.am
index 8701b95..bebeb04 100644
--- a/src/plugins/sample-vala/Makefile.am
+++ b/src/plugins/sample-vala/Makefile.am
@@ -1,8 +1,6 @@
 include $(top_srcdir)/src/plugins/Makefile.plugins
 
 plugindir = $(PLUGINDIR)/sample-vala
-
-if ENABLE_VALA
 plugin_LTLIBRARIES = libsample-vala.la
 
 plugin_in_files = sample-vala.totem-plugin.in
@@ -14,7 +12,6 @@ VALAFLAGS = \
 libsample_vala_la_SOURCES = totem-sample-vala-plugin.vala
 libsample_vala_la_LDFLAGS = $(plugin_ldflags)
 libsample_vala_la_CFLAGS = $(plugin_cflags)
-endif
 
 # Override to _not_ install the test plugins
 install-pluginLTLIBRARIES:



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