summaryrefslogtreecommitdiff
path: root/celt/celt.h
diff options
context:
space:
mode:
authorRon <ron@debian.org>2013-05-11 02:05:24 +0930
committerRon <ron@debian.org>2013-05-11 02:05:24 +0930
commit2f2f9d63b84d0eacdf66c03b683b932b367b017e (patch)
tree7d2a13bfd7813ca729133b6d8e354423b7fca3cb /celt/celt.h
parent80c4834c4822a9be4cb26ca2a11697a6a5b44485 (diff)
downloadopus-2f2f9d63b84d0eacdf66c03b683b932b367b017e.tar.gz
Fully automate version updating
This one meets or exceeds the following requirements: - Version is checked/updated for every build action when in the git repo. Does not require the user to re- ./configure to get the correct version. - Version is not updated automatically when using exported tarball source. Avoids accidentally getting a wrong version from some other git repo in a parent directory of the source, and allows setting the correct version for distro package exports. - Automatic updating can be manually suppressed. For developers doing lots of change/rebuild cycles they don't plan to release, when they don't want a full rebuild triggered for every commit, and again for every change made immediately after a commit. The version will still always be updated if they do a `make dist`. - Does not require any manual updating of versions in the mainline git repo for each release aside from normal tagging. The version is recorded in one file only, that is automatically generated and will never need to be committed. - Does not require gnu-make features for the autoconf builds. It does not currently: - Keep a checksum of every source file in tarball releases to mangle the version if people modify the tarball source. Responsible people can manually update the version easily though in such cases. The version.mk file is now only used by the VC project files. Once they are updated to use the package_version file too, then it can be deleted from the repository.
Diffstat (limited to 'celt/celt.h')
-rw-r--r--celt/celt.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/celt/celt.h b/celt/celt.h
index 614698f0..0404d918 100644
--- a/celt/celt.h
+++ b/celt/celt.h
@@ -131,10 +131,6 @@ int celt_decode_with_ec(OpusCustomDecoder * OPUS_RESTRICT st, const unsigned cha
#define celt_decoder_ctl opus_custom_decoder_ctl
-#ifndef OPUS_VERSION
-#define OPUS_VERSION "unknown"
-#endif
-
#ifdef CUSTOM_MODES
#define OPUS_CUSTOM_NOSTATIC
#else