diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-10-09 17:56:13 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-10-09 17:56:13 +0000 |
commit | 048526fde8a69e90dfe50b3116adfcd02678bace (patch) | |
tree | 23b29b6cf0cb9a2b0dd006d0fe855285602c81ae /vst | |
parent | 0d0f71ee92fb7ce53fbcb8c7b0cd93b1cdf3529f (diff) |
do not conditionally add directories to "subdirs" because then they are not included in the src tarball if various scons flags are not set
git-svn-id: svn://localhost/ardour2/trunk@960 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'vst')
-rw-r--r-- | vst/SConscript | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vst/SConscript b/vst/SConscript index a1f2bbb616..3758c8954b 100644 --- a/vst/SConscript +++ b/vst/SConscript @@ -66,11 +66,11 @@ wine_executable = ardour_vst.SubstInFile ('ardourvst', 'ardourvst.in', SUBST_DIC # make sure the scripts are executable -ardour_vst.AddPostAction (wine_executable, ardour_vst.Action (os.chmod ('ardevst', S_IRUSR|S_IROTH|S_IRGRP|S_IWUSR|S_IXUSR|S_IXOTH|S_IXGRP))) -ardour_vst.AddPostAction (wine_executable, ardour_vst.Action (os.chmod ('ardourvst', S_IRUSR|S_IROTH|S_IRGRP|S_IWUSR|S_IXUSR|S_IXOTH|S_IXGRP))) - -Default([wine_generated_executable, wine_executable]) - +if ardour_vst['VST']: + ardour_vst.AddPostAction (wine_executable, ardour_vst.Action (os.chmod ('ardevst', S_IRUSR|S_IROTH|S_IRGRP|S_IWUSR|S_IXUSR|S_IXOTH|S_IXGRP))) + ardour_vst.AddPostAction (wine_executable, ardour_vst.Action (os.chmod ('ardourvst', S_IRUSR|S_IROTH|S_IRGRP|S_IWUSR|S_IXUSR|S_IXOTH|S_IXGRP))) + Default([wine_generated_executable, wine_executable]) + # the wine script - into the bin dir env.Alias('install', env.Install(os.path.join(install_prefix, 'bin'), wine_executable)) # the win32 executable - into the lib dir since the wine script will look for it there |