diff options
author | David Robillard <d@drobilla.net> | 2011-05-26 22:58:52 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-26 22:58:52 +0000 |
commit | 65db83f65783f6d5b27337c515eea8286f8adf06 (patch) | |
tree | aeac4117a63a0330163693052a39401c9f4a2e72 | |
parent | 5efc8a0f538fdc7d62e7846a2344b326c3344637 (diff) | |
download | lv2-65db83f65783f6d5b27337c515eea8286f8adf06.tar.xz |
Disable (incorrect) release tarball generation stuff in gendoc.py
-rwxr-xr-x | gendoc.py | 18 | ||||
-rwxr-xr-x | genreleases.py | 10 |
2 files changed, 14 insertions, 14 deletions
@@ -23,11 +23,11 @@ SPECGENDIR = './specgen' STYLEURI = os.path.join('aux', 'style.css') TAGFILE = './doclinks' -release_dir = os.path.join('build', 'spec') -try: - os.mkdir(release_dir) -except: - pass +# release_dir = os.path.join('build', 'spec') +# try: +# os.mkdir(release_dir) +# except: +# pass devnull = open(os.devnull, 'w') @@ -154,10 +154,10 @@ SELECT ?rev FROM <%s.lv2/%s.ttl> WHERE { <%s> doap:release [ doap:revision ?rev else: rev = '0' - if rev != '0' and rev.find('pre') == -1: - path = os.path.join(os.path.abspath(release_dir), 'lv2-%s-%s.tar.gz' % (b, rev)) - subprocess.call(['tar', '--exclude-vcs', '-czf', path, - bundle[bundle.find('/') + 1:]], cwd=dir) + # if rev != '0' and rev.find('pre') == -1: + # path = os.path.join(os.path.abspath(release_dir), 'lv2-%s-%s.tar.gz' % (b, rev)) + # subprocess.call(['tar', '--exclude-vcs', '-czf', path, + # bundle[bundle.find('/') + 1:]], cwd=dir) specgendir = '../../../lv2specgen/' if (os.access(outdir + '/%s.lv2/%s.ttl' % (b, b), os.R_OK)): diff --git a/genreleases.py b/genreleases.py index 3e75a3e..a929070 100755 --- a/genreleases.py +++ b/genreleases.py @@ -12,11 +12,11 @@ lv2 = RDF.NS('http://lv2plug.in/ns/lv2core#') manifests = glob.glob('ext/*.lv2/manifest.ttl') -try: - os.mkdir('build') - os.mkdir('spec') -except: - pass +try: os.mkdir('build') +except: pass + +try: os.mkdir('build/spec') +except: pass for i in manifests: match = re.search('.*/([^/]*).lv2/.*', i) |