diff options
author | David Robillard <d@drobilla.net> | 2011-03-02 07:21:02 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-02 07:21:02 +0000 |
commit | cce827f84efada4656ff9c075baf030a54c0f69b (patch) | |
tree | 7f140e46031e24b3a0924a383bfbdbd588a5ee40 | |
parent | dc2943a4ace97bbadcc27e006b461f650e0a4cf2 (diff) | |
download | lv2-cce827f84efada4656ff9c075baf030a54c0f69b.tar.xz |
Update for new waf paths.
-rwxr-xr-x | gendoc.py | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -7,7 +7,7 @@ import glob import re import datetime -out_base = os.path.join('build', 'default', 'ns') +out_base = os.path.join('build', 'ns') try: shutil.rmtree(out_base) except: @@ -19,7 +19,7 @@ URIPREFIX = 'http://lv2plug.in/ns/' SPECGENDIR = './specgen' STYLEURI = os.path.join('aux', 'style.css') -release_dir = os.path.join('build', 'default', 'spec') +release_dir = os.path.join('build', 'spec') try: os.mkdir(release_dir) except: @@ -109,7 +109,7 @@ SELECT ?rev FROM <%s.lv2/%s.ttl> WHERE { <%s> doap:release [ doap:revision ?rev subprocess.call(['tar', '--exclude-vcs', '-czf', path, bundle[bundle.find('/') + 1:]], cwd=dir) - specgendir = '../../../../lv2specgen/' + specgendir = '../../../lv2specgen/' if (os.access(outdir + '/%s.lv2/%s.ttl' % (b, b), os.R_OK)): print ' * Calling lv2specgen for %s%s/%s' %(URIPREFIX, dir, b) subprocess.call([specgendir + 'lv2specgen.py', @@ -153,10 +153,10 @@ SELECT ?rev FROM <%s.lv2/%s.ttl> WHERE { <%s> doap:release [ doap:revision ?rev # Copy stylesheet try: - os.mkdir(os.path.join('build', 'default', 'aux')) + os.mkdir(os.path.join('build', 'aux')) except: pass -shutil.copy('lv2specgen/style.css', os.path.join('build', 'default', STYLEURI)) +shutil.copy('lv2specgen/style.css', os.path.join('build', STYLEURI)) # Generate code (headers) documentation print "** Generating header documentation" |