aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--lib/Makefile.local3
-rw-r--r--lib/notmuch.h8
2 files changed, 9 insertions, 2 deletions
diff --git a/lib/Makefile.local b/lib/Makefile.local
index 155ac02f..cd2c60df 100644
--- a/lib/Makefile.local
+++ b/lib/Makefile.local
@@ -18,6 +18,9 @@ LIBNOTMUCH_VERSION_MINOR = 0
# 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 7c3a30c1..42188a80 100644
--- a/lib/notmuch.h
+++ b/lib/notmuch.h
@@ -41,8 +41,12 @@ NOTMUCH_BEGIN_DECLS
#define TRUE 1
#endif
-#define NOTMUCH_MAJOR_VERSION 0
-#define NOTMUCH_MINOR_VERSION 17
+/*
+ * The library version number. This must agree with the soname
+ * version in Makefile.local.
+ */
+#define NOTMUCH_MAJOR_VERSION 3
+#define NOTMUCH_MINOR_VERSION 0
#define NOTMUCH_MICRO_VERSION 0
/*