aboutsummaryrefslogtreecommitdiffstats
path: root/lv2specgen/lv2specgen.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-10-06 07:07:19 +0000
committerDavid Robillard <d@drobilla.net>2010-10-06 07:07:19 +0000
commit47ddef5d3525fc10c82906d520203751bd86a436 (patch)
tree95e25ab097ae69732c69a1ccc03d843e9863cbd0 /lv2specgen/lv2specgen.py
parentcc34a55b49c2ba02c63ec0dba9e84184b2d97cea (diff)
downloadlv2-47ddef5d3525fc10c82906d520203751bd86a436.tar.xz
Add minor version number to extension bundle release tarball filenames for consistency with lv2core.
Remove 'releases' link from generated documentation index. Fix links to release tarballs in generated documentation.
Diffstat (limited to 'lv2specgen/lv2specgen.py')
-rwxr-xr-xlv2specgen/lv2specgen.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index 527c11d..884ede1 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -716,7 +716,10 @@ def specgen(specloc, docdir, template, instances=False, mode="spec"):
other_files = '<li><a href=".">Online Bundle</a></li>\n'
if revision and revision[0] != '0':
- other_files += '<li><a href="http://lv2plug.in/spec/lv2-%s-%s.tar.gz">Release</a> (<a href="http://lv2plug.in/spec">all releases</a>)</li>\n' % (basename, revision[0])
+ release_name = "lv2-" + basename
+ if basename == "lv2":
+ release_name = "lv2core"
+ other_files += '<li><a href="http://lv2plug.in/spec/%s-%s.0.tar.gz">Release</a> (<a href="http://lv2plug.in/spec">all releases</a>)</li>\n' % (release_name, revision[0])
if os.path.exists(os.path.abspath(header_path)):
other_files += '<li><a href="' + docdir + '/html/%s">Header Documentation</a></li>\n' % (
basename + '_8h.html')