aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-11-10 22:55:27 +0100
committerDavid Robillard <d@drobilla.net>2019-11-10 22:55:27 +0100
commit52593bdc5eef3a10a6ca2de171c0cc94fe83abc1 (patch)
tree219595e4d939948a5f11a57dae908dfc67ba3992 /wscript
parent41ae107a795ba1fffebfb6c30db32e2c97a65eb0 (diff)
downloadjalv-52593bdc5eef3a10a6ca2de171c0cc94fe83abc1.tar.gz
jalv-52593bdc5eef3a10a6ca2de171c0cc94fe83abc1.tar.bz2
jalv-52593bdc5eef3a10a6ca2de171c0cc94fe83abc1.zip
Remove old release targets
Diffstat (limited to 'wscript')
-rw-r--r--wscript34
1 files changed, 9 insertions, 25 deletions
diff --git a/wscript b/wscript
index 29efcb7..605b935 100644
--- a/wscript
+++ b/wscript
@@ -9,13 +9,16 @@ from waflib.extras import autowaf as autowaf
# Version of this package (even if built as a child)
JALV_VERSION = '1.6.3'
-# Variables for 'waf dist'
-APPNAME = 'jalv'
-VERSION = JALV_VERSION
+# Mandatory waf variables
+APPNAME = 'jalv' # Package name for waf dist
+VERSION = JALV_VERSION # Package version for waf dist
+top = '.' # Source directory
+out = 'build' # Build directory
-# Mandatory variables
-top = '.'
-out = 'build'
+# Release variables
+uri = 'http://drobilla.net/sw/jalv'
+dist_pattern = 'http://download.drobilla.net/jalv-%d.%d.%d.tar.bz2'
+post_tags = ['Hacking', 'LAD', 'LV2', 'Jalv']
def options(ctx):
ctx.load('compiler_c')
@@ -237,14 +240,6 @@ def build(bld):
# Man pages
bld.install_files('${MANDIR}/man1', bld.path.ant_glob('doc/*.1'))
-def upload_docs(ctx):
- import glob
- import os
- for page in glob.glob('doc/*.[1-8]'):
- os.system('mkdir -p build/doc')
- os.system('soelim %s | pre-grohtml troff -man -wall -Thtml | post-grohtml > build/%s.html' % (page, page))
- os.system('rsync -avz --delete -e ssh build/%s.html drobilla@drobilla.net:~/drobilla.net/man/' % page)
-
def lint(ctx):
"checks code for style issues"
import subprocess
@@ -258,17 +253,6 @@ def lint(ctx):
"$(find .. -name '*.c')")
subprocess.call(cmd, cwd='build', shell=True)
-def posts(ctx):
- path = str(ctx.path.abspath())
- autowaf.news_to_posts(
- os.path.join(path, 'NEWS'),
- {'title' : 'Jalv',
- 'description' : autowaf.get_blurb(os.path.join(path, 'README.md')),
- 'dist_pattern' : 'http://download.drobilla.net/jalv-%s.tar.bz2'},
- { 'Author' : 'drobilla',
- 'Tags' : 'Hacking, LAD, LV2, Jalv' },
- os.path.join(out, 'posts'))
-
def dist(ctx):
ctx.base_path = ctx.path
ctx.excl = ctx.get_excl() + ' .gitmodules'