DnD, only use track relationship
[ardour.git] / headless / wscript
index 3548324fb1f5800317105eac0c492b808cd1d75e..85e27879be7bf8692f3d7ee38c0cd7235427d3cc 100644 (file)
@@ -38,7 +38,7 @@ def build(bld):
     # this program does not do the whole hidden symbols thing
     obj.cxxflags = [ '-fvisibility=default' ]
     obj.source    = hardour_sources
-    obj.target = 'hardour-' + bld.env['VERSION']
+    obj.target = 'hardour-' + str (bld.env['VERSION'])
     obj.includes = ['.']
 
     # at this point, "obj" refers to either the normal native executable
@@ -52,7 +52,7 @@ def build(bld):
                      ]
 
     obj.defines = [
-        'VERSIONSTRING="' + bld.env['VERSION'] + '"',
+        'VERSIONSTRING="' + str(bld.env['VERSION']) + '"',
         'DATA_DIR="' + os.path.normpath(bld.env['DATADIR']) + '"',
         'CONFIG_DIR="' + os.path.normpath(bld.env['SYSCONFDIR']) + '"',
         'LOCALEDIR="' + os.path.join(os.path.normpath(bld.env['DATADIR']), 'locale') + '"',
@@ -84,14 +84,14 @@ def build(bld):
             'CONFDIR'        : os.path.normpath(bld.env['CONFDIR']),
             'LIBS'           : 'build/libs',
             'VERSION'        : bld.env['VERSION'],
-            'EXECUTABLE'     : 'build/headless/hardour-' + bld.env['VERSION']
+            'EXECUTABLE'     : 'build/headless/hardour-' + str(bld.env['VERSION'])
     }
 
     def set_subst_dict(obj, dict):
         for i in dict:
             setattr(obj, i, dict[i])
 
-    obj              = bld(features = 'subst', rule= 'chmod 0755 ${TGT}')
+    obj              = bld(features = 'subst')
     obj.source       = 'hardev_common.sh.in'
     obj.target       = 'hardev_common_waf.sh'
     obj.chmod        = Utils.O755