build: Turn off debugging

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
Bryan Schumaker 2012-06-02 12:19:45 -04:00
parent 7cc5cded9f
commit faadd138c4
2 changed files with 2 additions and 9 deletions

View File

@ -73,14 +73,7 @@ clean = Clean(ocarina, ["include/version.h", "bin/", "lib/"])
# Create a tarball
def git_archive(target, source, env):
version = "%s.%s" % (MAJOR, MINOR)
if BUG != 0:
version += ".%s" % BUG
if EXTRA != "":
version += "-%s" % EXTRA
if DEBUG == True:
version += "-debug"
ocarina="ocarina-%s" % version
ocarina="ocarina-%s" % config.version
os.popen("git archive --prefix=%s/ -o %s.tar.gz HEAD" % (ocarina, ocarina))
print "md5sum:", os.popen("md5sum %s.tar.gz" % ocarina).read()
env.Command("archive", None, [git_archive])

View File

@ -5,7 +5,7 @@ MAJOR = 5
MINOR = 9
BUG = 0
EXTRA = "rc"
DEBUG = True
DEBUG = False
# Find version
version = "%s.%s" % (MAJOR, MINOR)