[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 21/331] Fix build by building generated files first and pretty print when building



commit 1073b437c29cdd50e2d9cf8b74002a5e2d8ec8ed
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 eb1599c..8b1ece2 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -176,17 +176,18 @@ libgs_plugin_ubuntu_reviews_la_CFLAGS = $(GS_PLUGIN_CFLAGS) $(WARN_CFLAGS)
 endif
 
 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' \
@@ -194,8 +195,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]