[Xfce4-commits] [xfce/libxfce4ui] 01/03: Let autotools find and invoke glib-compile-resources (Bug #13326)
noreply at xfce.org
noreply at xfce.org
Sun Jun 11 06:06:53 CEST 2017
This is an automated email from the git hooks/post-receive script.
e r i c p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/libxfce4ui.
commit 89fa6ec8756e3bb1af923d457fe50511a6c14fa0
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Sat Jun 10 13:45:29 2017 +0300
Let autotools find and invoke glib-compile-resources (Bug #13326)
---
configure.ac.in | 1 +
libxfce4ui/Makefile.am | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/configure.ac.in b/configure.ac.in
index 67de570..51ac35a 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -77,6 +77,7 @@ AM_PROG_CC_C_O()
AC_PROG_INSTALL()
IT_PROG_INTLTOOL([0.35.0])
AC_CHECK_PROGS([PERL], [perl5 perl])
+AC_PATH_PROG([GLIB_COMPILE_RESOURCES],[glib-compile-resources])
dnl **************************
dnl *** Initialize libtool ***
diff --git a/libxfce4ui/Makefile.am b/libxfce4ui/Makefile.am
index 9644a72..9d861ab 100644
--- a/libxfce4ui/Makefile.am
+++ b/libxfce4ui/Makefile.am
@@ -192,11 +192,11 @@ libxfce4ui_built_sources += \
libxfce4ui-resources.c \
libxfce4ui-resources.h
-libxfce4ui-resources.c: libxfce4ui.gresource.xml $(UI_FILES)
- glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-source --c-name libxfce4ui $(srcdir)/libxfce4ui.gresource.xml
+libxfce4ui-resources.c: libxfce4ui.gresource.xml
+ $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source --c-name libxfce4ui $(srcdir)/libxfce4ui.gresource.xml
libxfce4ui-resources.h: libxfce4ui.gresource.xml
- glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-header --c-name libxfce4ui $(srcdir)/libxfce4ui.gresource.xml
+ $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-header --c-name libxfce4ui $(srcdir)/libxfce4ui.gresource.xml
endif
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list