aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-02-08 04:56:24 +0000
committerDavid Robillard <d@drobilla.net>2012-02-08 04:56:24 +0000
commited78bbe5ba12be1f9bcc736f14c51da6b4f639f3 (patch)
tree653a2dfe33f3923da45a38fc04ed2106f93528f3 /wscript
parentb617875c6f3ad439d25ae166da79df839ebfdc71 (diff)
downloadlv2-ed78bbe5ba12be1f9bcc736f14c51da6b4f639f3.tar.xz
Rearrange tree so top level can be used as an include path for standard style LV2 includes.
Diffstat (limited to 'wscript')
-rw-r--r--wscript20
1 files changed, 10 insertions, 10 deletions
diff --git a/wscript b/wscript
index e173b16..f4db842 100644
--- a/wscript
+++ b/wscript
@@ -15,7 +15,7 @@ import waflib.Options as Options
LV2EXT_VERSION = datetime.date.isoformat(datetime.datetime.now()).replace('-', '.')
# Variables for 'waf dist'
-APPNAME = 'lv2plug.in'
+APPNAME = 'lv2world'
VERSION = LV2EXT_VERSION
# Mandatory variables
@@ -31,7 +31,7 @@ def options(opt):
opt.add_option('--experimental', action='store_true', default=False,
dest='experimental',
help='Install unreleased experimental extensions')
- for i in ['lv2/ns/lv2core']:
+ for i in ['lv2/lv2plug.in/ns/lv2core']:
opt.recurse(i)
def configure(conf):
@@ -41,9 +41,9 @@ def configure(conf):
conf.env.append_unique('CFLAGS', '-std=c99')
- subdirs = ['lv2/ns/lv2core']
- subdirs += glob.glob('lv2/ns/ext/*/')
- subdirs += glob.glob('lv2/ns/extensions/*/')
+ subdirs = ['lv2/lv2plug.in/ns/lv2core']
+ subdirs += glob.glob('lv2/lv2plug.in/ns/ext/*/')
+ subdirs += glob.glob('lv2/lv2plug.in/ns/extensions/*/')
for i in subdirs:
conf.recurse(i)
@@ -66,8 +66,8 @@ def release(ctx):
os.makedirs('build/spec')
- manifests = glob.glob('lv2/ns/lv2core/manifest.ttl')
- manifests += glob.glob('lv2/ns/*/*/manifest.ttl')
+ manifests = glob.glob('lv2/lv2plug.in/ns/lv2core/manifest.ttl')
+ manifests += glob.glob('lv2/lv2plug.in/ns/*/*/manifest.ttl')
for manifest in manifests:
dir = os.path.dirname(manifest)
name = os.path.basename(dir).replace('.lv2', '')
@@ -100,7 +100,7 @@ def release(ctx):
subprocess.call(['./waf', 'distclean'], cwd=dir)
def lint(ctx):
- for i in (['lv2/ns/lv2core/lv2.h']
- + glob.glob('lv2/ns/ext/*/*.h')
- + glob.glob('lv2/ns/extensions/*/*.h')):
+ for i in (['lv2/lv2plug.in/ns/lv2core/lv2.h']
+ + glob.glob('lv2/lv2plug.in/ns/ext/*/*.h')
+ + glob.glob('lv2/lv2plug.in/ns/extensions/*/*.h')):
subprocess.call('cpplint.py --filter=+whitespace/comments,-whitespace/tab,-whitespace/braces,-whitespace/labels,-whitespace/blank_line,-build/header_guard,-readability/casting,-readability/todo,-build/include ' + i, shell=True)