aboutsummaryrefslogtreecommitdiffstats
path: root/gendoc.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-04 16:16:05 +0000
committerDavid Robillard <d@drobilla.net>2011-11-04 16:16:05 +0000
commitd45e469b43b6ec467e458f719b0dc3b4c8c4a900 (patch)
tree8633c74bdc4ca83ca596c82ce79fae1e83424f37 /gendoc.py
parent6d6e2458c3dff83ee6f68a1c7c5f7ed69bb121ab (diff)
downloadlv2-d45e469b43b6ec467e458f719b0dc3b4c8c4a900.tar.xz
Move everything but basic command line argument handling to specgen().
Diffstat (limited to 'gendoc.py')
-rwxr-xr-xgendoc.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/gendoc.py b/gendoc.py
index 09919ab..ff12edf 100755
--- a/gendoc.py
+++ b/gendoc.py
@@ -87,8 +87,9 @@ shutil.copy('doc/index.php', lv2_outdir)
def gendoc(specgen_dir, bundle_dir, ttl_filename, html_filename):
subprocess.call([os.path.join(specgen_dir, 'lv2specgen.py'),
- os.path.join(bundle_dir, ttl_filename),
- os.path.join(specgen_dir, 'template.html'),
+ os.path.join(bundle_dir, ttl_filename),
+ specgen_dir,
+
STYLEURI,
os.path.join(out_base, html_filename),
os.path.join('..', '..'),
@@ -175,7 +176,7 @@ SELECT ?rev FROM <%s.lv2/%s.ttl> WHERE { <%s> doap:release [ doap:revision ?rev
print(' * Calling lv2specgen for %s%s/%s' %(URIPREFIX, dir, b))
subprocess.call([specgendir + 'lv2specgen.py',
'%s.lv2/%s.ttl' % (b, b),
- specgendir + 'template.html',
+ specgendir,
STYLEURI,
'%s.lv2/%s.html' % (b, b),
os.path.join('..', '..', '..'),