diff options
author | RJ Ryan <rryan@mixxx.org> | 2016-01-11 13:16:42 -0800 |
---|---|---|
committer | RJ Ryan <rryan@mixxx.org> | 2016-01-11 13:21:44 -0800 |
commit | 471f0e63d03a6e793bd85a50eee2791cb0d8143c (patch) | |
tree | be99be1d6a68f354eeeba953ff69b8dd3ac3b2bf /SConstruct | |
parent | f2cd4a3118bd88bbd50620550794324c2de39ee8 (diff) |
Use the actual env.Program result as an input to the copy Command.
If we don't do this then in some cases SCons won't copy mixxx out of
the build folder when it should.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/SConstruct b/SConstruct index da6fbbe678..a6c3548706 100644 --- a/SConstruct +++ b/SConstruct @@ -100,15 +100,5 @@ mixxxminimal_plugins = SConscript( SConscript(File('src/SConscript'), variant_dir=Dir(build.build_dir), duplicate=0, exports=['build', 'sources', 'soundsource_plugins', 'mixxxminimal_plugins']) -# For convenience, copy the Mixxx binary out of the build directory to the -# root. Don't do it on windows because the binary can't run on its own and needs -# the DLLs present with it. -if build.platform_is_osx: - Command("mixxx", os.path.join(build.build_dir, "Mixxx"), Copy("$TARGET", "$SOURCE")) -elif not build.platform_is_windows: - Command("mixxx", os.path.join(build.build_dir, "mixxx"), Copy("$TARGET", "$SOURCE")) - - - #On OS X, if the bundle has been built, copy it up: #Command("Mixxx.app", os.path.join(build.build_dir, "Mixxx.app"), Copy("$TARGET", "$SOURCE")) |