Use path::leaf in sys::basename and sys::extension
[ardour.git] / SConstruct
index d462a155cbda6883c5c60e3b31dcf8aa6a41a8c4..cddc7384c892be487c476a6269c473340a7ae4d7 100644 (file)
@@ -542,9 +542,9 @@ env = conf.Finish()
 
 opt_flags = []
 if env['GPROFILE'] == 1:
-    debug_flags = [ '-g', '-pg' ]
+    debug_flags = [ '-O0', '-g', '-pg' ]
 else:
-    debug_flags = [ '-g' ]
+    debug_flags = [ '-O0', '-g' ]
 
 # guess at the platform, used to define compiler flags
 
@@ -891,7 +891,8 @@ if env['SYSLIBS']:
                                             CPPPATH='#libs/appleutility')
     
     coredirs = [
-        'templates'
+        'templates',
+        'manual'
     ]
     
     subdirs = [
@@ -955,7 +956,8 @@ else:
 
     coredirs = [
         'libs/soundtouch',
-        'templates'
+        'templates',
+        'manual'
     ]
     
     subdirs = [