From 048526fde8a69e90dfe50b3116adfcd02678bace Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 9 Oct 2006 17:56:13 +0000 Subject: 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 --- vst/SConscript | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'vst') 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 -- cgit v1.2.3