diff options
author | David Robillard <d@drobilla.net> | 2011-11-04 16:16:05 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-04 16:16:05 +0000 |
commit | d45e469b43b6ec467e458f719b0dc3b4c8c4a900 (patch) | |
tree | 8633c74bdc4ca83ca596c82ce79fae1e83424f37 /gendoc.py | |
parent | 6d6e2458c3dff83ee6f68a1c7c5f7ed69bb121ab (diff) | |
download | lv2-d45e469b43b6ec467e458f719b0dc3b4c8c4a900.tar.xz |
Move everything but basic command line argument handling to specgen().
Diffstat (limited to 'gendoc.py')
-rwxr-xr-x | gendoc.py | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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('..', '..', '..'), |