shithub: opus

Download patch

ref: 88ee8a190d82bf4bc7967ea3c829a2481c814d56
parent: 59c5a82e51b51cc71bd6105a97419f24b8f2d35f
author: Ralph Giles <[email protected]>
date: Thu Aug 16 09:35:11 EDT 2012

Use the string from version.mk in Makefile.draft.

This reduces the number of places the version string
needs to be updated at release.

--- a/Makefile.draft
+++ b/Makefile.draft
@@ -20,7 +20,8 @@
 
 ###################### END OF OPTIONS ######################
 
-CFLAGS += -DOPUS_VERSION='"1.0.1-rc2"'
+include version.mk
+CFLAGS += -DOPUS_VERSION='$(OPUS_VERSION)'
 include silk_sources.mk
 include celt_sources.mk
 include opus_sources.mk