build: Do not ship generated source-files in tarball

This commit is contained in:
Rico Tzschichholz 2013-10-30 23:29:45 +01:00
parent b6c3c9891c
commit 7fc2183826
3 changed files with 9 additions and 5 deletions

View File

@ -156,8 +156,10 @@ libst_1_0_la_SOURCES = \
$(st_source_private_h) \ $(st_source_private_h) \
$(st_source_private_c) \ $(st_source_private_c) \
$(st_source_h) \ $(st_source_h) \
st.h \ $(NULL)
nodist_libst_1_0_la_SOURCES = \
$(st_built_sources) \ $(st_built_sources) \
st.h \
$(NULL) $(NULL)
libst_1_0_la_CPPFLAGS = $(st_cflags) libst_1_0_la_CPPFLAGS = $(st_cflags)
libst_1_0_la_LDFLAGS = $(LDADD) libst_1_0_la_LDFLAGS = $(LDADD)

View File

@ -4,8 +4,6 @@ tray_cflags = \
$(TRAY_CFLAGS) \ $(TRAY_CFLAGS) \
$(NULL) $(NULL)
BUILT_SOURCES += $(tray_built_sources)
# please, keep this sorted alphabetically # please, keep this sorted alphabetically
tray_source = \ tray_source = \
tray/na-tray-child.c \ tray/na-tray-child.c \
@ -19,7 +17,6 @@ noinst_LTLIBRARIES += libtray.la
libtray_la_LIBADD = $(TRAY_LIBS) libtray_la_LIBADD = $(TRAY_LIBS)
libtray_la_SOURCES = \ libtray_la_SOURCES = \
$(tray_source) \ $(tray_source) \
$(tray_built_sources) \
$(NULL) $(NULL)
libtray_la_CPPFLAGS = $(tray_cflags) libtray_la_CPPFLAGS = $(tray_cflags)
libtray_la_LDFLAGS = $(LDADD) libtray_la_LDFLAGS = $(LDADD)

View File

@ -151,7 +151,6 @@ libgnome_shell_base_la_SOURCES = \
$(NULL) $(NULL)
libgnome_shell_sources = \ libgnome_shell_sources = \
$(shell_built_sources) \
$(shell_public_headers_h) \ $(shell_public_headers_h) \
shell-app-private.h \ shell-app-private.h \
shell-app-system-private.h \ shell-app-system-private.h \
@ -170,11 +169,16 @@ libgnome_shell_sources = \
shell-util.c \ shell-util.c \
shell-window-tracker.c \ shell-window-tracker.c \
shell-wm.c \ shell-wm.c \
$(NULL)
libgnome_shell_built_sources = \
$(shell_built_sources) \
$(top_builddir)/js/js-resources.c \ $(top_builddir)/js/js-resources.c \
$(top_builddir)/js/js-resources.h \ $(top_builddir)/js/js-resources.h \
$(NULL) $(NULL)
libgnome_shell_la_SOURCES = $(libgnome_shell_sources) libgnome_shell_la_SOURCES = $(libgnome_shell_sources)
nodist_libgnome_shell_la_SOURCES = $(libgnome_shell_built_sources)
libgnome_shell_la_gir_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)) $(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 if HAVE_MUTTER_WAYLAND
libgnome_shell_wayland_la_SOURCES = $(libgnome_shell_sources) 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_SOURCES = main.c
gnome_shell_wayland_CPPFLAGS = \ gnome_shell_wayland_CPPFLAGS = \