From 2ce3a99ca5b36e0395c51fbc1c74aadd1d037576 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 8 Apr 2017 18:06:35 +0200 Subject: [PATCH] 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" (cherry picked from commit 5bb1084ddc395fe8b5193a3d85a4daa86fef49a4) Signed-off-by: "Yann E. MORIN" --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.39.2