mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Use AM_PATH_GLIB_2_0 to figure out where glib-compile-resource is.
This commit is contained in:
parent
316de7ebeb
commit
3eef3d790a
2 changed files with 7 additions and 2 deletions
|
@ -28,11 +28,11 @@ BUILT_SOURCES=\
|
||||||
|
|
||||||
$(top_builddir)/resources/resources.c: $(top_srcdir)/resources/resources.xml
|
$(top_builddir)/resources/resources.c: $(top_srcdir)/resources/resources.xml
|
||||||
mkdir -p $(top_builddir)/resources/
|
mkdir -p $(top_builddir)/resources/
|
||||||
glib-compile-resources $< --generate-source --target=$@ --sourcedir=$(top_srcdir)
|
$(GLIB_COMPILE_RESOURCES) $< --generate-source --target=$@ --sourcedir=$(top_srcdir)
|
||||||
|
|
||||||
$(top_builddir)/resources/resources.h: $(top_srcdir)/resources/resources.xml
|
$(top_builddir)/resources/resources.h: $(top_srcdir)/resources/resources.xml
|
||||||
mkdir -p $(top_builddir)/resources/
|
mkdir -p $(top_builddir)/resources/
|
||||||
glib-compile-resources $< --generate-header --target=$@ --sourcedir=$(top_srcdir)
|
$(GLIB_COMPILE_RESOURCES) $< --generate-header --target=$@ --sourcedir=$(top_srcdir)
|
||||||
|
|
||||||
$(top_builddir)/lexer/theme-lexer.c: $(top_srcdir)/lexer/theme-lexer.l
|
$(top_builddir)/lexer/theme-lexer.c: $(top_srcdir)/lexer/theme-lexer.l
|
||||||
|
|
||||||
|
|
|
@ -135,6 +135,11 @@ AS_IF([test "x${enable_check}" != "xno"], [ PKG_CHECK_MODULES([check],[check >=
|
||||||
AM_CONDITIONAL([USE_CHECK], [test "x${enable_check}" != "xno" && test "$HAVE_CHECK" -eq 1])
|
AM_CONDITIONAL([USE_CHECK], [test "x${enable_check}" != "xno" && test "$HAVE_CHECK" -eq 1])
|
||||||
|
|
||||||
|
|
||||||
|
dnl ---------------------------------------------------------------------
|
||||||
|
dnl Gets the resource compile tool path.
|
||||||
|
dnl ---------------------------------------------------------------------
|
||||||
|
AM_PATH_GLIB_2_0
|
||||||
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------
|
||||||
dnl Add extra compiler flags
|
dnl Add extra compiler flags
|
||||||
|
|
Loading…
Reference in a new issue