From faadd138c49b659c81f8aa22a6113b80cb77495c Mon Sep 17 00:00:00 2001 From: Bryan Schumaker Date: Sat, 2 Jun 2012 12:19:45 -0400 Subject: [PATCH] build: Turn off debugging Signed-off-by: Bryan Schumaker --- Sconstruct | 9 +-------- config.py | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/Sconstruct b/Sconstruct index 23ba4ec7..96f3f91a 100644 --- a/Sconstruct +++ b/Sconstruct @@ -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]) diff --git a/config.py b/config.py index 9e1a4566..da035406 100644 --- a/config.py +++ b/config.py @@ -5,7 +5,7 @@ MAJOR = 5 MINOR = 9 BUG = 0 EXTRA = "rc" -DEBUG = True +DEBUG = False # Find version version = "%s.%s" % (MAJOR, MINOR)