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 <tom.hromatka@oracle.com>
Reviewed-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
(cherry picked from commit
75efc065af40b153c9ff5c3fc92691a87ffec617)
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