diff options
author | Ralph Giles <giles@mozilla.com> | 2012-08-16 22:39:56 +0400 |
---|---|---|
committer | Ralph Giles <giles@mozilla.com> | 2012-08-16 23:42:32 +0400 |
commit | 59c5a82e51b51cc71bd6105a97419f24b8f2d35f (patch) | |
tree | 33bd49d902f54ac8412e8a945b0e78a6ad11bc9e /version.mk | |
parent | 9322362b1ba88aa1a0216bd7dea3c2fb1e5cdca9 (diff) |
Move the release version string to version.mk.
Previously we defined the release version string in configure.ac,
and overrode that with 'git describe --tags' if possible. This
made it difficult for non-autoconf builds to set their version
string correctly.
Instead we create, and check into version control, a file called
version.mk which defines OPUS_VERSION. The configure script reads
that file and uses it as a fallback if the git revision isn't available.
The expectation is that version.mk will be manually updated for
releases, just as the previous configure.ac version was. However,
since this is a simpler format, it is easier for alternate build
systems to use, reducing the number of places which must be updated.
Also removes the OPUS_MINOR_VERSION, etc. defines from config.h.
Diffstat (limited to 'version.mk')
-rw-r--r-- | version.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/version.mk b/version.mk new file mode 100644 index 00000000..fdd68fe0 --- /dev/null +++ b/version.mk @@ -0,0 +1,2 @@ +# static version string; update manually every release. +OPUS_VERSION = "1.0.1-rc2" |