chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baa5ad2
)
logind: add 'login' subdir to include dirs
author
Kay Sievers
<kay.sievers@vrfy.org>
Sat, 31 Dec 2011 03:20:25 +0000
(
04:20
+0100)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Sat, 31 Dec 2011 03:20:25 +0000
(
04:20
+0100)
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'.
Makefile.am
patch
|
blob
|
history
diff --git
a/Makefile.am
b/Makefile.am
index a5df14c854d918fe71ceb11abb1b16d53b952e17..f1e0b05a8d312ae69e54c088c5b57c0d33543925 100644
(file)
--- 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) \