From 20ccf4b8c2ed1594a48ba3247394f34d13755a62 Mon Sep 17 00:00:00 2001 From: Tom Hromatka Date: Fri, 1 Dec 2023 14:16:37 -0700 Subject: [PATCH] python: Delete python build artifacts after distclean Running make distcheck resulted in the following errors: ERROR: files left in build directory after distclean: ./src/python/seccomp.egg-info/SOURCES.txt ./src/python/seccomp.egg-info/PKG-INFO ./src/python/seccomp.egg-info/top_level.txt ./src/python/seccomp.egg-info/dependency_links.txt ./src/python/dist/seccomp-2.5.4-py3.11-linux-x86_64.egg make[1]: *** [Makefile:812: distcleancheck] Error 1 Delete the seccomp.egg-info and dist directories in the clean-local make target. Signed-off-by: Tom Hromatka --- src/python/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/Makefile.am b/src/python/Makefile.am index f71ec24f..51664123 100644 --- a/src/python/Makefile.am +++ b/src/python/Makefile.am @@ -49,4 +49,4 @@ uninstall-local: clean-local: [ ${srcdir} == ${builddir} ] || ${RM} -f ${builddir}/seccomp.pyx - ${RM} -rf seccomp.c build + ${RM} -rf seccomp.c build dist seccomp.egg-info