diff options
| author | David Bremner <david@tethera.net> | 2015-03-07 08:31:14 +0100 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2015-03-08 08:30:36 +0100 |
| commit | aed5ec4350809aef34ae8290f8eda2069444b171 (patch) | |
| tree | 5b53b5c4b64f74fad1c182f0af9d9f24a3861d1f /Makefile.local | |
| parent | a00b4abc27ee2402bfe0cf5c1cba5417ecc36097 (diff) | |
python: replace hardcoding of SONAME version
Failing to update this string in globals.py causes failures when the
SONAME changes. In order to hopefully reduce the number of such
errors, automate the process of setting the SONAME in the python
bindings.
Diffstat (limited to 'Makefile.local')
| -rw-r--r-- | Makefile.local | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.local b/Makefile.local index 81ee3477..6d547423 100644 --- a/Makefile.local +++ b/Makefile.local @@ -107,7 +107,9 @@ dist: $(TAR_FILE) .PHONY: update-versions update-versions: - sed -i "s/^__VERSION__[[:blank:]]*=.*$$/__VERSION__ = \'${VERSION}\'/" $(PV_FILE) + sed -i -e "s/^__VERSION__[[:blank:]]*=.*$$/__VERSION__ = \'${VERSION}\'/" \ + -e "s/^SOVERSION[[:blank:]]*=.*$$/SOVERSION = \'${LIBNOTMUCH_VERSION_MAJOR}\'/" \ + ${PV_FILE} # We invoke make recursively only to force ordering of our phony # targets in the case of parallel invocation of make (-j). |
