From ea61fd71ac0104787490b5274a5923d641cbd0ea Mon Sep 17 00:00:00 2001 From: Tom Hromatka Date: Fri, 20 Jan 2023 10:30:54 -0700 Subject: [PATCH] Makefile.am: Add support for make distcheck Add support for `make distcheck`. Provide the requisite ./configure options during the build and clean up Python build artifacts afterwards. Signed-off-by: Tom Hromatka Reviewed-by: Kamalesh Babulal (cherry picked from commit 75efc065af40b153c9ff5c3fc92691a87ffec617) --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.am b/Makefile.am index 7b36f15a..daffb74f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,5 +7,8 @@ endif EXTRA_DIST = README_daemon libcgroup.doxyfile README_systemd +AM_DISTCHECK_CONFIGURE_FLAGS = --sysconfdir=/etc --localstatedir=/var \ + --enable-opaque-hierarchy="name=systemd" + pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libcgroup.pc -- 2.47.3