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>
EXTRA_DIST = README_daemon libcgroup.doxyfile README_systemd CONTRIBUTING.md
+AM_DISTCHECK_CONFIGURE_FLAGS = --sysconfdir=/etc --localstatedir=/var \
+ --enable-opaque-hierarchy="name=systemd" \
+ --enable-python
+
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libcgroup.pc
clean-local:
[ ${srcdir} == ${builddir} ] || ${RM} -f ${builddir}/libcgroup.pyx
- ${RM} -rf libcgroup.c build
+ ${RM} -rf libcgroup.c build libcgroup.egg-info dist