[gnome-software] build: Don't distribute built sources



commit b34d169da5a2153af135ce4823d363acf495b58b
Author: Dan Nicholson <nicholson endlessm com>
Date:   Wed Feb 24 20:28:47 2016 -0800

    build: Don't distribute built sources
    
    It's preferred that the built source files are generated by the builder
    rather than being created by the developer and distributed with the
    tarball. That ensures that the builder's glib-compile-schemas and
    gdbus-codegen are used rather than the developer's.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762625

 src/Makefile.am |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 0e85fa7..dcd6227 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -108,8 +108,6 @@ bin_PROGRAMS =                                              \
        gnome-software
 
 gnome_software_SOURCES =                               \
-       gs-resources.c                                  \
-       gs-resources.h                                  \
        gs-utils.c                                      \
        gs-utils.h                                      \
        gs-app.c                                        \
@@ -200,8 +198,6 @@ gnome_software_SOURCES =                            \
        gs-plugin-loader.h                              \
        gs-plugin-loader-sync.c                         \
        gs-plugin-loader-sync.h                         \
-       gs-shell-search-provider-generated.c            \
-       gs-shell-search-provider-generated.h            \
        gs-shell-search-provider.c                      \
        gs-shell-search-provider.h                      \
        gs-application.c                                \
@@ -210,12 +206,20 @@ gnome_software_SOURCES =                          \
        gs-folders.h                                    \
        gs-main.c
 
+nodist_gnome_software_SOURCES =                                \
+       gs-resources.c                                  \
+       gs-resources.h                                  \
+       gs-shell-search-provider-generated.c            \
+       gs-shell-search-provider-generated.h
+
 if HAVE_PACKAGEKIT
 gnome_software_SOURCES +=                              \
-       $(packagekit_built_sources)                     \
-       $(packagekit_modify2_built_sources)             \
        gs-dbus-helper.c                                \
        gs-dbus-helper.h
+
+nodist_gnome_software_SOURCES +=                       \
+       $(packagekit_built_sources)                     \
+       $(packagekit_modify2_built_sources)
 endif
 
 gnome_software_LDADD =                                 \


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