]> git.notmuchmail.org Git - notmuch/commitdiff
build: clean up __pycache__ directories
authorDavid Bremner <david@tethera.net>
Sun, 10 Sep 2023 23:13:13 +0000 (20:13 -0300)
committerDavid Bremner <david@tethera.net>
Tue, 12 Sep 2023 11:07:37 +0000 (08:07 -0300)
These are generated indirectly by certain uses of python in the build.

bindings/Makefile.local
doc/Makefile.local

index 25ba19203f56ac83926d4e74844ef50e1eacb399..c82a91c6829a5db2928eef1af6566e2e8949770a 100644 (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
 
index 51c729cf7fe5d61ef5719e25c797ecff62d40af5..aafa77a0fe229e7dc2f8435e6e7791c5dc8619ae 100644 (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__