[seed] Adding libseed gresources and .in to DIST



commit 6783d2946f41a9afea3fa3870dbbd75a7013f0e1
Author: Danilo Cesar Lemes de Paula <danilo cesar collabora co uk>
Date:   Tue Jul 26 10:27:25 2016 -0300

    Adding libseed gresources and .in to DIST

 jsextensions/Makefile.am |    9 +++++++--
 libseed/Makefile.am      |    5 +++--
 2 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/jsextensions/Makefile.am b/jsextensions/Makefile.am
index 64099e8..769fe02 100644
--- a/jsextensions/Makefile.am
+++ b/jsextensions/Makefile.am
@@ -1,17 +1,19 @@
 GLIB_COMPILE_RESOURCES=glib-compile-resources
-resources=Clutter.js \
+js_files=Clutter.js \
           gjs/Gtk.js \
           gjs/GObject.js \
           gjs/Gio.js \
           gjs/GLib.js \
           GObject.js \
           Gio.js \
-          Seed.js \
           Gst.js \
           GLib.js \
           Gtk.js \
           repl.js
 
+resources=$(js_files) \
+                 Seed.js
+
 Seed.js: Seed.js.in
        $(AM_V_GEN) $(SED) -e "s|%pkglibdir%|$(pkglibdir)@SEED_GTK_VERSION@|" -e 
"s|%pkgdatadir%|$(pkgdatadir)@SEED_GTK_VERSION@|" -e "s|%gnomejsdir%|$(GNOME_JS_DIR)|" $< > $@
 
@@ -23,3 +25,6 @@ all: libseed-resources.c
 clean:
        rm libseed-resources.c
 
+EXTRA_DIST = libseed.gresources.xml \
+                        Seed.js.in \
+                        $(js_files)
diff --git a/libseed/Makefile.am b/libseed/Makefile.am
index a9c9ed2..9e056d2 100644
--- a/libseed/Makefile.am
+++ b/libseed/Makefile.am
@@ -23,9 +23,10 @@ libseed@SEED_GTK_VERSION@_la_SOURCES = \
        seed-types.h \
        seed-importer.c \
        seed-importer.h \
-       seed-path.h \
-       ../jsextensions/libseed-resources.c
+       seed-path.h
 
+nodist_libseed@SEED_GTK_VERSION@_la_SOURCES = \
+       ../jsextensions/libseed-resources.c
 
 
 libseed@SEED_GTK_VERSION@_la_CFLAGS = \


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