build: Add __pycache__/*.pyc to DISTCLEANFILES

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.

Acked-by: Victor Toso <victortoso@redhat.com>
This commit is contained in:
Christophe Fergeau 2018-06-08 12:01:17 +02:00 committed by Frediano Ziglio
parent a526fea413
commit 32e2ed57b5

View File

@ -11,6 +11,6 @@ PYTHON_MODULES = \
EXTRA_DIST = meson.build $(PYTHON_MODULES)
DISTCLEANFILES = *.pyc
DISTCLEANFILES = *.pyc __pycache__/*.pyc
-include $(top_srcdir)/git.mk