Python 3 puts its .pyc files in a __pycache__ subdirectory, This commit
adds these to DISTCLEANFILES. My main motivation for doing this is so
that git.mk can then properly add them to .gitignore.
---
 python_modules/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python_modules/Makefile.am b/python_modules/Makefile.am
index 07e1917..74d9a00 100644
--- a/python_modules/Makefile.am
+++ b/python_modules/Makefile.am
@@ -11,6 +11,6 @@ PYTHON_MODULES =                              \
 
 EXTRA_DIST = meson.build $(PYTHON_MODULES)
 
-DISTCLEANFILES = *.pyc
+DISTCLEANFILES = *.pyc __pycache__/*.pyc
 
 -include $(top_srcdir)/git.mk
-- 
2.17.1

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to