summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2018-06-08 12:01:17 +0200
committerFrediano Ziglio <fziglio@redhat.com>2018-06-18 14:08:10 +0100
commit32e2ed57b5e715672cfe7a5fc4a195f069a7f796 (patch)
tree247dea78c367490af8975639fbc6ce641497b2ce
parenta526fea413e1086924e2c215abead9f437e75049 (diff)
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>
-rw-r--r--python_modules/Makefile.am2
1 files changed, 1 insertions, 1 deletions
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