From: =?utf-8?q?Ferenc_W=C3=A1gner?= <wferi@debian.org>
Date: Tue, 26 Sep 2023 18:10:08 +0200
Subject: python: clean up the __pycache__ directories

---
 python/pacemaker/Makefile.am | 3 +++
 python/tests/Makefile.am     | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/python/pacemaker/Makefile.am b/python/pacemaker/Makefile.am
index 27e6d68..c973dfb 100644
--- a/python/pacemaker/Makefile.am
+++ b/python/pacemaker/Makefile.am
@@ -16,3 +16,6 @@ pkgpython_PYTHON = __init__.py 		\
 nodist_pkgpython_PYTHON = buildoptions.py
 
 SUBDIRS = _cts
+
+clean-local:
+	rm -rf __pycache__
diff --git a/python/tests/Makefile.am b/python/tests/Makefile.am
index b0d46c0..c384180 100644
--- a/python/tests/Makefile.am
+++ b/python/tests/Makefile.am
@@ -11,3 +11,6 @@ include $(top_srcdir)/mk/common.mk
 
 EXTRA_DIST = $(wildcard test_*) \
 	     __init__.py
+
+clean-local:
+	rm -rf __pycache__
