aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-18 00:29:46 +0000
committerDavid Robillard <d@drobilla.net>2012-04-18 00:29:46 +0000
commit4135e10cc6d86de065483b475fc9b4a7b7d75557 (patch)
tree4b136b94d0e45753730f53f55ff5206e502a0999 /wscript
parent64703914fb0cdefb640ea8f9836a105a4d9cf04c (diff)
downloadlv2-4135e10cc6d86de065483b475fc9b4a7b7d75557.tar.xz
Remove unused waf target.
Diffstat (limited to 'wscript')
-rw-r--r--wscript46
1 files changed, 0 insertions, 46 deletions
diff --git a/wscript b/wscript
index c2fc93c..1e2f422 100644
--- a/wscript
+++ b/wscript
@@ -308,52 +308,6 @@ def build(bld):
source = ['lv2/lv2plug.in/ns/index.html.in'] + index_files,
target = 'ns/index.html')
-def release(ctx):
- import rdflib
- lv2 = rdflib.Namespace('http://lv2plug.in/ns/lv2core#')
- rdf = rdflib.Namespace('http://www.w3.org/1999/02/22-rdf-syntax-ns#')
- doap = rdflib.Namespace('http://usefulinc.com/ns/doap#')
-
- try:
- shutil.rmtree('build/spec')
- except:
- pass
-
- os.makedirs('build/spec')
-
- 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', '')
-
- m = rdflib.ConjunctiveGraph()
- m.parse(manifest, format='n3')
-
- uri = minor = micro = None
- try:
- spec = m.value(None, rdf.type, lv2.Specification)
- uri = str(spec)
- minor = int(m.value(spec, lv2.minorVersion, None))
- micro = int(m.value(spec, lv2.microVersion, None))
- except:
- e = sys.exc_info()[1]
- Logs.error('error: %s: %s' % (manifest, str(e)))
- continue
-
- if minor != 0 and micro % 2 == 0:
- autowaf.display_header('\nBuilding %s Release\n' % dir)
- try:
- subprocess.call(
- ['./waf', 'distclean', 'configure', 'build', 'distcheck'],
- cwd=dir)
- for i in glob.glob(dir + '/*.tar.bz2'):
- shutil.move(i, 'build/spec')
- except:
- Logs.error('Error building %s release' % (name, e))
-
- subprocess.call(['./waf', 'distclean'], cwd=dir)
-
def lint(ctx):
for i in (['lv2/lv2plug.in/ns/lv2core/lv2.h']
+ glob.glob('lv2/lv2plug.in/ns/ext/*/*.h')