[gnome-software/wip/rancell/reviews-3-18] Fix build by building generated files first and pretty print when building



commit ec1b5f6ef37d8eec0a6dfd0e33bf3c3b0a4aee8e
Author: Robert Ancell <robert ancell canonical com>
Date:   Fri Jan 22 16:25:19 2016 +1300

    Fix build by building generated files first and pretty print when building

 src/plugins/Makefile.am |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index 349e9a1..d12fea3 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -134,17 +134,18 @@ libgs_plugin_local_ratings_la_LDFLAGS = -module -avoid-version
 libgs_plugin_local_ratings_la_CFLAGS = $(GS_PLUGIN_CFLAGS) $(WARN_CFLAGS)
 
 libgs_plugin_ubuntu_reviews_la_SOURCES =               \
-       gs-plugin-ubuntu-reviews.c                      \
        ubuntu-sso-accounts-proxy.c                     \
        ubuntu-sso-accounts-proxy.h                     \
        ubuntu-sso-credentials-proxy.c                  \
-       ubuntu-sso-credentials-proxy.h
+       ubuntu-sso-credentials-proxy.h                  \
+       gs-plugin-ubuntu-reviews.c
 libgs_plugin_ubuntu_reviews_la_LIBADD = $(GS_PLUGIN_LIBS) $(SOUP_LIBS) $(JSON_GLIB_LIBS) $(OAUTH_LIBS) 
$(SQLITE_LIBS)
 libgs_plugin_ubuntu_reviews_la_LDFLAGS = -module -avoid-version
 libgs_plugin_ubuntu_reviews_la_CFLAGS = $(GS_PLUGIN_CFLAGS) $(WARNINGFLAGS_C)
 
+ubuntu-sso-accounts-proxy.c: ubuntu-sso-accounts-proxy.h
 ubuntu-sso-accounts-proxy.c ubuntu-sso-accounts-proxy.h: com.ubuntu.sso.UserManagement.xml Makefile
-       $(GDBUS_CODEGEN) --interface-prefix com.ubuntu.sso \
+       $(AM_V_GEN) $(GDBUS_CODEGEN) --interface-prefix com.ubuntu.sso \
                         --generate-c-code ubuntu-sso-accounts-proxy \
                         --c-namespace UbuntuSSO \
                         --annotate 'com.ubuntu.sso.UserManagement' \
@@ -152,8 +153,9 @@ ubuntu-sso-accounts-proxy.c ubuntu-sso-accounts-proxy.h: com.ubuntu.sso.UserMana
                                    Accounts \
                         $<
 
+ubuntu-sso-credentials-proxy.c: ubuntu-sso-credentials-proxy.h
 ubuntu-sso-credentials-proxy.c ubuntu-sso-credentials-proxy.h: com.ubuntu.sso.CredentialsManagement.xml 
Makefile
-       $(GDBUS_CODEGEN) --interface-prefix com.ubuntu.sso \
+       $(AM_V_GEN) $(GDBUS_CODEGEN) --interface-prefix com.ubuntu.sso \
                         --generate-c-code ubuntu-sso-credentials-proxy \
                         --c-namespace UbuntuSSO \
                         --annotate 'com.ubuntu.sso.CredentialsManagement' \


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