[gnome-shell] build: Do not ship generated source-files in tarball



commit 7fc21838266f053ec6ee8630c12e5d91e4e3880c
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Oct 30 23:29:45 2013 +0100

    build: Do not ship generated source-files in tarball

 src/Makefile-st.am   |    4 +++-
 src/Makefile-tray.am |    3 ---
 src/Makefile.am      |    7 ++++++-
 3 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/src/Makefile-st.am b/src/Makefile-st.am
index 7cbdfd8..721253e 100644
--- a/src/Makefile-st.am
+++ b/src/Makefile-st.am
@@ -156,8 +156,10 @@ libst_1_0_la_SOURCES =                             \
        $(st_source_private_h)                  \
        $(st_source_private_c)                  \
        $(st_source_h)                          \
-       st.h                                    \
+       $(NULL)
+nodist_libst_1_0_la_SOURCES =                  \
        $(st_built_sources)                     \
+       st.h                                    \
        $(NULL)
 libst_1_0_la_CPPFLAGS = $(st_cflags)
 libst_1_0_la_LDFLAGS = $(LDADD)
diff --git a/src/Makefile-tray.am b/src/Makefile-tray.am
index 6a1dbf5..b814c1f 100644
--- a/src/Makefile-tray.am
+++ b/src/Makefile-tray.am
@@ -4,8 +4,6 @@ tray_cflags =                                   \
        $(TRAY_CFLAGS)                          \
        $(NULL)
 
-BUILT_SOURCES += $(tray_built_sources)
-
 # please, keep this sorted alphabetically
 tray_source =                  \
        tray/na-tray-child.c    \
@@ -19,7 +17,6 @@ noinst_LTLIBRARIES += libtray.la
 libtray_la_LIBADD = $(TRAY_LIBS)
 libtray_la_SOURCES =           \
        $(tray_source)          \
-       $(tray_built_sources)   \
        $(NULL)
 libtray_la_CPPFLAGS = $(tray_cflags)
 libtray_la_LDFLAGS = $(LDADD)
diff --git a/src/Makefile.am b/src/Makefile.am
index 51e2ee4..4131b80 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -151,7 +151,6 @@ libgnome_shell_base_la_SOURCES =    \
        $(NULL)
 
 libgnome_shell_sources =               \
-       $(shell_built_sources)          \
        $(shell_public_headers_h)       \
        shell-app-private.h             \
        shell-app-system-private.h      \
@@ -170,11 +169,16 @@ libgnome_shell_sources =          \
        shell-util.c                    \
        shell-window-tracker.c          \
        shell-wm.c                      \
+       $(NULL)
+
+libgnome_shell_built_sources =         \
+       $(shell_built_sources)          \
        $(top_builddir)/js/js-resources.c               \
        $(top_builddir)/js/js-resources.h               \
        $(NULL)
 
 libgnome_shell_la_SOURCES = $(libgnome_shell_sources)
+nodist_libgnome_shell_la_SOURCES = $(libgnome_shell_built_sources)
 
 libgnome_shell_la_gir_sources = \
        $(filter-out %-private.h $(shell_private_sources), $(shell_public_headers_h) 
$(libgnome_shell_base_la_SOURCES) $(libgnome_shell_sources))
@@ -192,6 +196,7 @@ gnome_shell_DEPENDENCIES = libgnome-shell.la
 
 if HAVE_MUTTER_WAYLAND
 libgnome_shell_wayland_la_SOURCES = $(libgnome_shell_sources)
+nodist_libgnome_shell_wayland_la_SOURCES = $(libgnome_shell_built_sources)
 
 gnome_shell_wayland_SOURCES = main.c
 gnome_shell_wayland_CPPFLAGS = \


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