From: Kay Sievers Date: Sat, 31 Dec 2011 03:20:25 +0000 (+0100) Subject: logind: add 'login' subdir to include dirs X-Git-Tag: v38~133 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=03920601112c003cd65a2aa3f07ee75fef9aa5d5;p=elogind.git logind: add 'login' subdir to include dirs When separate 'builddirs', like with 'distcheck', are used, the generated sources, like the '.c' files from 'gperf', are placed in the 'builddir' and can not find the include headers in 'srcdir'. --- diff --git a/Makefile.am b/Makefile.am index a5df14c85..f1e0b05a8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1250,6 +1250,10 @@ nodist_systemd_logind_SOURCES = \ EXTRA_DIST += \ src/login/logind-gperf.gperf +systemd_logind_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + -I $(top_srcdir)/src/login + systemd_logind_CFLAGS = \ $(AM_CFLAGS) \ $(DBUS_CFLAGS) \