aboutsummaryrefslogtreecommitdiff
path: root/Makefile.local
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2020-06-29 21:22:47 -0300
committerDavid Bremner <david@tethera.net>2020-07-03 06:38:55 -0300
commit3a42abb456893b71b530f099a1467400f2b0ea71 (patch)
treefb1939c1b6fa036e9662ece45494b7abe954230d /Makefile.local
parentf981f5bae0e33219b7e0e9f2d5e03d54d0d88cce (diff)
bindings/python-cffi: copy version file into bindings dir
Attempt to avoid breaking "pip install ." As far as I can tell, we need to have a copy (not just a relative symlink) of the version file.
Diffstat (limited to 'Makefile.local')
-rw-r--r--Makefile.local1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.local b/Makefile.local
index 586cdf75..314238ef 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -54,6 +54,7 @@ update-versions:
sed -i -e "s/^__VERSION__[[:blank:]]*=.*$$/__VERSION__ = \'${VERSION}\'/" \
-e "s/^SOVERSION[[:blank:]]*=.*$$/SOVERSION = \'${LIBNOTMUCH_VERSION_MAJOR}\'/" \
${PV_FILE}
+ cp version bindings/python-cffi
# We invoke make recursively only to force ordering of our phony
# targets in the case of parallel invocation of make (-j).