[spice-common 3/3] build: Add __pycache__/*.pyc to DISTCLEANFILES

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]