From 5d522be95a7a2fcf9a5db8aebd075166a3f01822 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 6 Jan 2013 20:30:41 +0000 Subject: Add plugin data files to book and list files in sensible order. --- plugins/wscript | 11 ++++------- 1 file 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, -- cgit v1.2.1