build: Allow to define path for eldbus-codegen binary

Since the latest elm colorclass changes we need eldbus-codegen to generate
some files. Not all setups have this in their normal $PATH so let allow these
setups to set the correct path during configure. This allows our Jenkins setup
as well as others to work again.
This commit is contained in:
Stefan Schmidt 2015-04-08 17:40:02 +02:00
parent dcd626973f
commit b8218b03b3
2 changed files with 3 additions and 1 deletions

View File

@ -192,6 +192,7 @@ EFL_WITH_BIN([elementary], [elementary-codegen], [elementary_codegen])
EFL_WITH_BIN([elementary], [elm-prefs-cc], [elm_prefs_cc])
EFL_WITH_BIN([eolian], [eolian-gen], [eolian_gen])
EFL_WITH_BIN([eolian-cxx], [eolian-cxx], [eolian_cxx])
EFL_WITH_BIN([eldbus], [eldbus_codegen], [eldbus-codegen])
# Force the helper to try external eolian generators
AM_CONDITIONAL([HAVE_EOLIAN_GEN], [true])
AM_CONDITIONAL([HAVE_EOLIAN_CXX], [true])
@ -560,6 +561,7 @@ echo " elementary_codegen.......: ${elementary_codegen}"
echo " elm_prefs_cc.............: ${elm_prefs_cc}"
echo " eolian_gen...............: ${eolian_gen}"
echo " eolian_cxx...............: ${eolian_cxx}"
echo " eldbus_codegen...........: ${eldbus_codegen}"
echo
echo " Build elementary_test....: ${have_elementary_test}"
echo " Build elementary_codegen.: ${have_elementary_codegen}"

View File

@ -524,7 +524,7 @@ elm_intro.h.in
$(COLORCLASS_GEN): elm_color_class.xml
@cd $(top_builddir)/src/lib && \
eldbus-codegen $(abs_top_srcdir)/src/lib/elm_color_class.xml
@eldbus_codegen@ $(abs_top_srcdir)/src/lib/elm_color_class.xml
elm_color_class.c: $(COLORCLASS_GEN)