diff --git a/src/Makefile-st.am b/src/Makefile-st.am index 7cbdfd894..721253ed4 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 6a1dbf562..b814c1f7b 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 51e2ee486..4131b80c7 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 = \