diff options
| author | David Bremner <david@tethera.net> | 2015-08-09 16:25:41 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2015-08-10 13:53:55 +0200 |
| commit | 765556c1f159ae0a29137c935c7cbf4106569e7e (patch) | |
| tree | 75039890837574aae92b8f8eed455bf1ba9fc458 /lib | |
| parent | 02a2eeb427d6b424029f6e5e5ddad4c6ec987741 (diff) | |
build: extract library versions from notmuch.h
- Make lib/notmuch.h the canonical location for the library versioning
information.
- Since the release-check should never fail now, remove it to reduce
complexity.
- Make the version numbers in notmuch.h consistent with the (now
deleted) ones in lib/Makefile.local
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Makefile.local | 21 | ||||
| -rw-r--r-- | lib/notmuch.h | 2 |
2 files changed, 1 insertions, 22 deletions
diff --git a/lib/Makefile.local b/lib/Makefile.local index 412d8650..3a070907 100644 --- a/lib/Makefile.local +++ b/lib/Makefile.local @@ -1,26 +1,5 @@ # -*- makefile -*- -# The major version of the library interface. This will control the soname. -# As such, this number must be incremented for any incompatible change to -# the library interface, (such as the deletion of an API or a major -# semantic change that breaks formerly functioning code). -# -LIBNOTMUCH_VERSION_MAJOR = 4 - -# The minor version of the library interface. This should be incremented at -# the time of release for any additions to the library interface, -# (and when it is incremented, the release version of the library should -# be reset to 0). -LIBNOTMUCH_VERSION_MINOR = 3 - -# The release version the library interface. This should be incremented at -# the time of release if there have been no changes to the interface, (but -# simply compatible changes to the implementation). -LIBNOTMUCH_VERSION_RELEASE = 0 - -# Note: Don't forget to change the VERSION macros in notmuch.h when -# any of the above change. - ifeq ($(PLATFORM),MACOSX) LIBRARY_SUFFIX = dylib # On OS X, library version numbers go before suffix. diff --git a/lib/notmuch.h b/lib/notmuch.h index 421c19dd..b1f5bfa1 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -56,7 +56,7 @@ NOTMUCH_BEGIN_DECLS * version in Makefile.local. */ #define LIBNOTMUCH_MAJOR_VERSION 4 -#define LIBNOTMUCH_MINOR_VERSION 2 +#define LIBNOTMUCH_MINOR_VERSION 3 #define LIBNOTMUCH_MICRO_VERSION 0 #define NOTMUCH_DEPRECATED(major,minor) \ |
