From 150de26bffa4dbf3bd4568a34f5a84ec4ae4efd6 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 24 Jul 2018 11:29:28 +0200 Subject: [PATCH] Clean python cache when building python3 binding Python3 store .pyc cache in hidden directory __pycache__, distcheck complained that the source directory was not completely clean after a distclean. --- bindings/python/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am index 61fc6cb6..f774a0a0 100644 --- a/bindings/python/Makefile.am +++ b/bindings/python/Makefile.am @@ -41,3 +41,6 @@ lasso.py _lasso.c: lang.py wrapper_top.c wrapper_bottom.c ../bindings.py endif + +distclean-local: + rm -rf __pycache__