aboutsummaryrefslogtreecommitdiff
path: root/Makefile.local
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-10-31 07:03:54 -0300
committerDavid Bremner <david@tethera.net>2021-12-05 09:08:48 -0400
commitf17d75b83c90ae4ea75f79377f3acb873b9e564e (patch)
treeda6c0ae6b5d5e07c8a69f4dc15c8361be3f74e26 /Makefile.local
parent95f0c59fe98b1404ca8a4042becf650aeb09b923 (diff)
python-cffi: fix out-of-tree build
The main idea is to replace the hack of copying version.txt into the bindings source with a generated _notmuch_config.py file. This will mean that the bindings only build after configuring and building notmuch itself. Given those constraints, "pip install ." should work.
Diffstat (limited to 'Makefile.local')
-rw-r--r--Makefile.local1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile.local b/Makefile.local
index e12b94cd..10fb9908 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -54,7 +54,6 @@ update-versions:
sed -i -e "s/^__VERSION__[[:blank:]]*=.*$$/__VERSION__ = \'${VERSION}\'/" \
-e "s/^SOVERSION[[:blank:]]*=.*$$/SOVERSION = \'${LIBNOTMUCH_VERSION_MAJOR}\'/" \
${PV_FILE}
- cp version.txt bindings/python-cffi
# We invoke make recursively only to force ordering of our phony
# targets in the case of parallel invocation of make (-j).