]> git.sur5r.net Git - kconfig-frontends/commitdiff
Makefile: unbreak build out-of-tree
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 8 Apr 2017 16:06:35 +0000 (18:06 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 8 Apr 2017 16:13:40 +0000 (18:13 +0200)
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" <yann.morin.1998@free.fr>
Makefile.am

index 65126c0abd676c22a6a46ad63e51a8ddaac890af..3f2b843898b16f31e2397edaeac3f351f6375a5c 100644 (file)
@@ -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)