summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2018-10-25 13:01:19 +0200
committerBastien Nocera <hadess@hadess.net>2018-10-25 13:12:35 +0200
commit7c17075ac04a10e2727a63e5c973c142b077ba1f (patch)
treeca12d66adf713d48eb391fc749dde4e4bf64995f
parent2f4df9174ea673f525bc7a9b61fa02b1a4fc9006 (diff)
downloadupower-7c17075ac04a10e2727a63e5c973c142b077ba1f.tar.gz
build: Fix up-daemon-generated.h not being found on distcheck
-rw-r--r--libupower-glib/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/libupower-glib/Makefile.am b/libupower-glib/Makefile.am
index 08755d6..dd3ead2 100644
--- a/libupower-glib/Makefile.am
+++ b/libupower-glib/Makefile.am
@@ -3,6 +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 \
@@ -53,6 +54,7 @@ libupower_glib_la_LDFLAGS = \
-export-symbols-regex '^up_.*'
libupower_glib_la_CFLAGS = \
+ $(AM_CPPFLAGS) \
$(WARNINGFLAGS_C) \
$(NULL)