summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-12-31 04:20:25 +0100
committerKay Sievers <kay.sievers@vrfy.org>2011-12-31 04:20:25 +0100
commit03920601112c003cd65a2aa3f07ee75fef9aa5d5 (patch)
treeb30b1c17e9d1efb1374d65a85872ba26b92a77b9 /Makefile.am
parentbaa5ad26fd5da7bc3d7253904ac30112c94a64c2 (diff)
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'.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index a5df14c854..f1e0b05a8d 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) \