build: clean up __pycache__ directories

These are generated indirectly by certain uses of python in the build.
This commit is contained in:
David Bremner 2023-09-10 20:13:13 -03:00
parent 14e05a3eee
commit b21747e0c3
2 changed files with 3 additions and 0 deletions

View file

@ -34,6 +34,7 @@ CLEAN += $(patsubst %,$(dir)/ruby/%, \
CLEAN += bindings/ruby/.vendorarchdir.time $(dir)/ruby.stamp
CLEAN += bindings/python-cffi/build $(dir)/python-cffi.stamp
CLEAN += bindings/python-cffi/__pycache__
DISTCLEAN += bindings/python-cffi/_notmuch_config.py

View file

@ -159,3 +159,5 @@ $(dir)/config.dox: version.stamp
CLEAN := $(CLEAN) $(DOCBUILDDIR) $(DOCBUILDDIR)/.roff.stamp $(DOCBUILDDIR)/.texi.stamp
CLEAN := $(CLEAN) $(DOCBUILDDIR)/.html.stamp $(DOCBUILDDIR)/.info.stamp
CLEAN := $(CLEAN) $(MAN_GZIP_FILES) $(MAN_ROFF_FILES) $(dir)/conf.pyc $(dir)/config.dox
CLEAN := $(CLEAN) $(dir)/__pycache__