From: Yann E. MORIN Date: Sat, 8 Apr 2017 16:06:35 +0000 (+0200) Subject: Makefile: unbreak build out-of-tree X-Git-Tag: v4.11.0.0~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5bb1084ddc395fe8b5193a3d85a4daa86fef49a4;p=kconfig-frontends Makefile: unbreak build out-of-tree When we switched to a single top-level Makefile, we lost the ability to build out-of-tree, but only in a non-git tree... Weird... However, the error is real: we were missing a include path for the generated files, wihch are not generated in top_srcdir but in top_builddir. Signed-off-by: "Yann E. MORIN" --- diff --git a/Makefile.am b/Makefile.am index 65126c0..3f2b843 100644 --- a/Makefile.am +++ b/Makefile.am @@ -45,7 +45,8 @@ libs_parser_libkconfig_parser_la_CPPFLAGS = \ -DCONFIG_=\"$(config_prefix)\" \ -DGPERF_LEN_TYPE="$(GPERF_LEN_TYPE)" \ $(intl_CPPFLAGS) \ - -I$(top_srcdir)/libs/parser + -I$(top_srcdir)/libs/parser \ + -I$(top_builddir)/libs/parser libs_parser_libkconfig_parser_la_CFLAGS = \ $(AM_CFLAGS) \ $(kf_CFLAGS)