summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-06-17 14:13:57 +0200
committerBastien Nocera <hadess@hadess.net>2021-06-17 15:45:02 +0200
commit95763ef43e62fcf9b60925905e09c8d2c111d966 (patch)
tree670c3b9c0d4ea38dd9df0f7def95179692e2724e /Makefile.am
parent0e9c6192ab937ea4a952da0cfee5d5138751fdae (diff)
downloadupower-95763ef43e62fcf9b60925905e09c8d2c111d966.tar.gz
build: Force enable introspection for "make distcheck" to work
Introspection support is needed to be able to instatiate a UPClient object in the test suite.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 559c4f9..e64060c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -54,7 +54,8 @@ pkgconfig_DATA = upower-glib.pc
# xsltproc barfs on 'make distcheck'; disable for now
DISTCHECK_CONFIGURE_FLAGS=--enable-man-pages --enable-gtk-doc \
--with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir) \
- --with-udevrulesdir='$${libdir}/udev/rules.d-distcheck'
+ --with-udevrulesdir='$${libdir}/udev/rules.d-distcheck' \
+ --enable-introspection=yes
clean-local :
rm -f *~