aboutsummaryrefslogtreecommitdiffstats
path: root/gendoc.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-02 07:21:02 +0000
committerDavid Robillard <d@drobilla.net>2011-03-02 07:21:02 +0000
commitcce827f84efada4656ff9c075baf030a54c0f69b (patch)
tree7f140e46031e24b3a0924a383bfbdbd588a5ee40 /gendoc.py
parentdc2943a4ace97bbadcc27e006b461f650e0a4cf2 (diff)
downloadlv2-cce827f84efada4656ff9c075baf030a54c0f69b.tar.xz
Update for new waf paths.
Diffstat (limited to 'gendoc.py')
-rwxr-xr-xgendoc.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/gendoc.py b/gendoc.py
index 4274a09..4e5f83c 100755
--- a/gendoc.py
+++ b/gendoc.py
@@ -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"