aboutsummaryrefslogtreecommitdiffstats
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
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.
-rwxr-xr-xgendoc.py3
-rwxr-xr-xlv2specgen/lv2specgen.py5
2 files changed, 5 insertions, 3 deletions
diff --git a/gendoc.py b/gendoc.py
index a3491fe..00a7cae 100755
--- a/gendoc.py
+++ b/gendoc.py
@@ -108,7 +108,7 @@ SELECT ?rev FROM <%s.lv2/%s.ttl> WHERE { <%s> doap:release [ doap:revision ?rev
rev = '0'
if rev != '0':
- path = os.path.join(release_dir, 'lv2-%s-%s.tar.gz' % (b, rev))
+ path = os.path.join(release_dir, 'lv2-%s-%s.0.tar.gz' % (b, rev))
subprocess.call(['tar', '-czf', path, os.path.join(outdir, '%s.lv2' % b)])
specgendir = '../../../../lv2specgen/'
@@ -140,7 +140,6 @@ SELECT ?rev FROM <%s.lv2/%s.ttl> WHERE { <%s> doap:release [ doap:revision ?rev
index_html += i + '\n'
index_html += '</ul>\n'
- index_html += '<div class="content"><a href="./releases">Releases</a></div>\n'
index_html += '<div class="footer">'
index_html += '<span class="footer-text">Generated on '
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')