[clutter/clutter-1.18] build: Fix rules for examples data



commit c76e63f0c72369bdab3f9530caedc76cc9df3176
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri Jan 24 12:10:14 2014 +0000

    build: Fix rules for examples data
    
    Apparenly we need to EXTRA_DIST the image and JSON data.

 doc/cookbook/examples/Makefile.am |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/doc/cookbook/examples/Makefile.am b/doc/cookbook/examples/Makefile.am
index 6752240..236edf2 100644
--- a/doc/cookbook/examples/Makefile.am
+++ b/doc/cookbook/examples/Makefile.am
@@ -4,7 +4,12 @@ NULL =
 
 EXTRA_DIST =
 
-noinst_PROGRAMS = \
+noinst_PROGRAMS =
+examples_DATA =
+
+examplesdir = $(datadir)/clutter-1.0/cookbook/examples
+
+all_examples = \
        actors-composite-main                   \
        animations-complex                      \
        animations-looping-animator             \
@@ -131,7 +136,9 @@ img_data = \
        $(srcdir)/smiley.png \
        $(NULL)
 
-examplesdir = $(datadir)/clutter-1.0/cookbook/examples
-examples_DATA = $(uidata) $(img_data) $(srcdir)/*.c $(srcdir)/*.h
+EXTRA_DIST += $(ui_data) $(img_data)
+
+examples_DATA += $(ui_data) $(img_data) $(srcdir)/*.c $(srcdir)/*.h
+noinst_PROGRAMS += $(all_examples)
 
 -include $(top_srcdir)/build/autotools/Makefile.am.gitignore


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