aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-06 20:30:41 +0000
committerDavid Robillard <d@drobilla.net>2013-01-06 20:30:41 +0000
commit5d522be95a7a2fcf9a5db8aebd075166a3f01822 (patch)
treedc37bd9a49e6c7ce531e99ac996093e337aa7de9 /plugins/wscript
parenta3f55ab87446b5f53f1e5b67dd70b484f10e3335 (diff)
downloadlv2-5d522be95a7a2fcf9a5db8aebd075166a3f01822.tar.xz
Add plugin data files to book and list files in sensible order.
Diffstat (limited to 'plugins/wscript')
-rw-r--r--plugins/wscript11
1 files changed, 4 insertions, 7 deletions
diff --git a/plugins/wscript b/plugins/wscript
index e474c78..63d01ae 100644
--- a/plugins/wscript
+++ b/plugins/wscript
@@ -15,17 +15,14 @@ def bld_book_src(task):
filenames += [i.abspath()]
literasc.gen(open(task.outputs[0].abspath(), 'w'), filenames)
-
def build(bld):
files = [bld.path.find_node('README.txt')]
for i in bld.path.ant_glob('*', src=False, dir=True):
- for j in bld.path.ant_glob('%s/*.*' % i):
- name = j.abspath()
- if (name.endswith('.c') or
- name.endswith('.txt') or
- name.endswith('.ttl.in')):
- files += [j]
+ files += bld.path.ant_glob('%s/*.txt' % i)
+ files += bld.path.ant_glob('%s/manifest.ttl*' % i)
+ files += bld.path.ant_glob('%s/*.ttl' % i)
+ files += bld.path.ant_glob('%s/*.c' % i)
bld(rule = bld_book_src,
source = files,