aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcarmen rocco <ix9@users.sourceforge.net>2005-06-20 06:04:52 +0000
committercarmen rocco <ix9@users.sourceforge.net>2005-06-20 06:04:52 +0000
commitabddbd7f509416b6a19b269688880e0f8270ca8a (patch)
tree55c11cb53426013dd39fa3a33211850b2033ea9d
parent5cf322f64ab14573e5b65b01709761f45933eabd (diff)
moving docs out of 5.reference, adding ann
svn path=/trunk/externals/ann/; revision=3223
-rw-r--r--SConscript19
1 files changed, 19 insertions, 0 deletions
diff --git a/SConscript b/SConscript
new file mode 100644
index 0000000..711f347
--- /dev/null
+++ b/SConscript
@@ -0,0 +1,19 @@
+import glob
+import os
+import re
+Import('env prefix')
+
+ann = env.SharedLibrary(target='ann', source = glob.glob('src/*.c'))
+env.Alias('install', env.Install(os.path.join(prefix, 'extra'), ann))
+Default(ann)
+
+for subann in glob.glob('src/ann_*.c'):
+ ann = env.SharedLibrary(re.sub("\.c$","",os.path.basename(subann)), source = subann)
+ env.Alias('install', env.Install(os.path.join(prefix, 'extra'), ann))
+ Default(ann)
+
+env.Alias('install', env.Install(os.path.join(prefix, 'doc/ann'), glob.glob('helps/*.pd')))
+
+for example in glob.glob('examples/ann*'):
+ env.Alias('install', env.Install(os.path.join(prefix, 'doc/ann/' + example), glob.glob(example+'/*.*')))
+