aboutsummaryrefslogtreecommitdiffstats
path: root/lv2specgen/lv2specgen.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-10-06 05:52:35 +0000
committerDavid Robillard <d@drobilla.net>2010-10-06 05:52:35 +0000
commit38d8a847b9d472f58cca37567be3200f48f4b07e (patch)
treed77878017ffedf86dc9e3e41a506c3daa98e61b9 /lv2specgen/lv2specgen.py
parent46d38bde1bdc038fd4a8c3dc998077e3f96a1ed7 (diff)
downloadlv2-38d8a847b9d472f58cca37567be3200f48f4b07e.tar.xz
Only create (and link to) release tarballs for extensions with non-zero revisions.
Diffstat (limited to 'lv2specgen/lv2specgen.py')
-rwxr-xr-xlv2specgen/lv2specgen.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index 9adae8d..00290eb 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -715,7 +715,8 @@ def specgen(specloc, docdir, template, instances=False, mode="spec"):
header_path = bundle_path + '/' + basename + '.h'
other_files = '<li><a href=".">Bundle</a></li>\n'
- other_files += '<li><a href="../releases">Releases</a></li>\n'
+ if revision and revision[0] != '0':
+ other_files += '<li><a href="http://lv2plug.in/spec">Releases</a></li>\n'
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')