aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgendoc.py18
-rwxr-xr-xgenreleases.py10
2 files changed, 14 insertions, 14 deletions
diff --git a/gendoc.py b/gendoc.py
index 49cd455..b980530 100755
--- a/gendoc.py
+++ b/gendoc.py
@@ -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)