VERSION = str (V.encode ('ascii', 'ignore'))
PROGRAM_VERSION = str (MAJOR.encode ('ascii', 'ignore'))
+if len (sys.argv) > 1 and sys.argv[1] == 'dist':
+ if not 'APPNAME' in os.environ:
+ print "You must define APPNAME in the environment when running ./waf dist"
+ sys.exit (1)
+ APPNAME = os.environ['APPNAME'];
+
+
# Mandatory variables
top = '.'
out = 'build'