[gegl-gtk] Build: Try to fix make distcheck



commit c813f13260fa5e59da4f38b36dd51f43258893cf
Author: Jon Nordby <jononor gmail com>
Date:   Fri Apr 13 09:58:24 2012 +0200

    Build: Try to fix make distcheck
    
    A file was not cleaned and when building without GI/Vala,
    the examples where erronously built.

 examples/Makefile.am |    8 +++++++-
 gegl-gtk/Makefile.am |    3 +++
 2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 586114a..7e08a39 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1,2 +1,8 @@
 
-SUBDIRS = c vala
+SUBDIRS = c
+
+if HAVE_INTROSPECTION
+if HAVE_VALA
+SUBDIRS += vala
+endif # HAVE_VALA
+endif # HAVE_INTROSPECTION
diff --git a/gegl-gtk/Makefile.am b/gegl-gtk/Makefile.am
index 279a13c..9b7970a 100644
--- a/gegl-gtk/Makefile.am
+++ b/gegl-gtk/Makefile.am
@@ -107,3 +107,6 @@ endif # HAVE_INTROSPECTION
 EXTRA_DIST += \
 	gegl-gtk2- GEGL_GTK_API_VERSION@.deps \
 	gegl-gtk3- GEGL_GTK_API_VERSION@.deps
+
+CLEANFILES += \
+	GeglGtk GEGL_GTK_GTK_VERSION@- GEGL_GTK_API_VERSION@.metadata



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