aboutsummaryrefslogtreecommitdiff
path: root/SConscript
diff options
context:
space:
mode:
authorcarmen rocco <ix9@users.sourceforge.net>2005-04-12 09:11:02 +0000
committercarmen rocco <ix9@users.sourceforge.net>2005-04-12 09:11:02 +0000
commit9334a4c6d22b4c02c3c14832e85b916503b80c66 (patch)
treee9a1bacd4e7b5bde68445186f5645108c892a182 /SConscript
parente34e664471aa151b11e2f61a2acbe8066bb56c62 (diff)
scons
svn path=/trunk/externals/zexy/; revision=2725
Diffstat (limited to 'SConscript')
-rw-r--r--SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/SConscript b/SConscript
index 657a476..f02203b 100644
--- a/SConscript
+++ b/SConscript
@@ -4,10 +4,11 @@ import re
Import('env prefix')
# generate custom z_zexy files
-os.system('rm z_zexy.* src/z_zexy.*')
+os.system('test -e src/z_zexy.h && rm src/z_zexy.*')
zexy_src = glob.glob('src/*.c')
os.system('cd src && sh makesource.sh')
zexy = env.SharedLibrary(target = 'zexy', source = zexy_src)
env.Alias('install', env.Install(os.path.join(prefix, 'extra'), zexy))
+env.Alias('install', env.Install(os.path.join(prefix, 'doc/5.reference/zexy'), glob.glob('examples/*.pd')))
Default(zexy)