From 41943380a4e24d36cfccb3df584db5cb58f7b468 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 14 Sep 2021 16:02:09 +0100 Subject: build: Make distcheck use our ${prefix} with Automake 1.16.4 Automake 1.16.4 changes the default behaviour for Python so that --prefix is no longer respected. Force it to behave as earlier versions did, so we can still distcheck. Signed-off-by: Simon McVittie --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 77c65ca..4329772 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,7 +4,7 @@ installed_testdir = ${libexecdir}/installed-tests/${PACKAGE_TARNAME} installed_test_testdir = ${installed_testdir}/test installed_test_metadir = ${datadir}/installed-tests/${PACKAGE_TARNAME} -AM_DISTCHECK_CONFIGURE_FLAGS = PYTHON=$(PYTHON) +AM_DISTCHECK_CONFIGURE_FLAGS = PYTHON=$(PYTHON) --with-python-prefix='$${prefix}' --with-python-exec-prefix='$${exec_prefix}' ACLOCAL_AMFLAGS = -I m4 SUBDIRS = dbus-gmain . -- cgit v1.2.1