[gnome-packagekit] trivial: Fix srcdir != builddir build



commit 2f59728e37785b2986cd61a958f806bfea7d6571
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Wed Jul 20 22:34:24 2016 +0800

    trivial: Fix srcdir != builddir build
    
    https://bugzilla.gnome.org/show_bug.cgi?id=768997

 src/Makefile.am |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index bc3f915..57e1107 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -161,24 +161,24 @@ TESTS = gpk-self-test
 endif
 
 gpk-application-resources.c: gpk-application.gresource.xml gpk-application.ui
-       glib-compile-resources --target=$@ --generate-source --c-name gpk 
$(srcdir)/gpk-application.gresource.xml
+       glib-compile-resources --target=$@ --generate-source --c-name gpk --sourcedir=$(srcdir) 
$(srcdir)/gpk-application.gresource.xml
 gpk-application-resources.h: gpk-application.gresource.xml
-       glib-compile-resources --target=$@ --generate-header --c-name gpk 
$(srcdir)/gpk-application.gresource.xml
+       glib-compile-resources --target=$@ --generate-header --c-name gpk --sourcedir=$(srcdir) 
$(srcdir)/gpk-application.gresource.xml
 
 gpk-log-resources.c: gpk-log.gresource.xml gpk-log.ui
-       glib-compile-resources --target=$@ --generate-source --c-name gpk $(srcdir)/gpk-log.gresource.xml
+       glib-compile-resources --target=$@ --generate-source --c-name gpk --sourcedir=$(srcdir) 
$(srcdir)/gpk-log.gresource.xml
 gpk-log-resources.h: gpk-log.gresource.xml
-       glib-compile-resources --target=$@ --generate-header --c-name gpk $(srcdir)/gpk-log.gresource.xml
+       glib-compile-resources --target=$@ --generate-header --c-name gpk --sourcedir=$(srcdir) 
$(srcdir)/gpk-log.gresource.xml
 
 gpk-prefs-resources.c: gpk-prefs.gresource.xml gpk-prefs.ui
-       glib-compile-resources --target=$@ --generate-source --c-name gpk $(srcdir)/gpk-prefs.gresource.xml
+       glib-compile-resources --target=$@ --generate-source --c-name gpk --sourcedir=$(srcdir) 
$(srcdir)/gpk-prefs.gresource.xml
 gpk-prefs-resources.h: gpk-prefs.gresource.xml
-       glib-compile-resources --target=$@ --generate-header --c-name gpk $(srcdir)/gpk-prefs.gresource.xml
+       glib-compile-resources --target=$@ --generate-header --c-name gpk --sourcedir=$(srcdir) 
$(srcdir)/gpk-prefs.gresource.xml
 
 gpk-update-viewer-resources.c: gpk-update-viewer.gresource.xml gpk-update-viewer.ui
-       glib-compile-resources --target=$@ --generate-source --c-name gpk 
$(srcdir)/gpk-update-viewer.gresource.xml
+       glib-compile-resources --target=$@ --generate-source --c-name gpk --sourcedir=$(srcdir) 
$(srcdir)/gpk-update-viewer.gresource.xml
 gpk-update-viewer-resources.h: gpk-update-viewer.gresource.xml
-       glib-compile-resources --target=$@ --generate-header --c-name gpk 
$(srcdir)/gpk-update-viewer.gresource.xml
+       glib-compile-resources --target=$@ --generate-header --c-name gpk --sourcedir=$(srcdir) 
$(srcdir)/gpk-update-viewer.gresource.xml
 
 BUILT_SOURCES =                                                \
        gpk-application-resources.c                     \


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