summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2018-08-21 17:22:04 +0200
committerBastien Nocera <hadess@hadess.net>2018-10-02 10:18:04 +0200
commitca2174aa3f7ca82deeece61199b1282c8388ca21 (patch)
tree64689a30da4df507802375fa182bbae2cd19fc2d
parentff31184186af36bf00c3fdce0fca7c960669ba6f (diff)
downloadupower-ca2174aa3f7ca82deeece61199b1282c8388ca21.tar.gz
build: Fix out-of-tree build
The generated headers for the dbus service are in the build dir, not the source dir. ../../libupower-glib/up-client.c:39:10: fatal error: up-daemon-generated.h: No such file or directory #include "up-daemon-generated.h" ^~~~~~~~~~~~~~~~~~~~~~~
-rw-r--r--libupower-glib/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libupower-glib/Makefile.am b/libupower-glib/Makefile.am
index a7bc2f5..08755d6 100644
--- a/libupower-glib/Makefile.am
+++ b/libupower-glib/Makefile.am
@@ -3,7 +3,7 @@ AM_CPPFLAGS = \
$(GIO_UNIX_CFLAGS) \
-I$(top_builddir) \
-I$(top_srcdir) \
- -I$(top_srcdir)/dbus \
+ -I$(top_builddir)/dbus \
-I$(top_srcdir)/libupower-glib \
-DUP_COMPILATION \
-DG_LOG_DOMAIN=\"libupower-glib\" \