diff options
Diffstat (limited to 'build')
-rw-r--r--[-rwxr-xr-x] | build/debian/rules | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/build/debian/rules b/build/debian/rules index f338090b7f..821c10d339 100755..100644 --- a/build/debian/rules +++ b/build/debian/rules @@ -6,15 +6,18 @@ DEB_BUILD_OPTIONS= noopt # Build flags are passed in from the SConscript. MIXXX_SCONS_FLAGS = "" +MIXXX_BUILD_FOLDER = "linux_build" # If ARCH is set to a different architecture when running pbuilder, pbuilder # will be set to create an environment to build packages for the architecture # specified in ARCH. ifneq (,$(findstring i386,$(ARCH))) - MIXXX_SCONS_FLAGS += machine=x86 + MIXXX_SCONS_FLAGS += machine=x86 + MIXXX_BUILD_FOLDER = "lin32_build" endif ifneq (,$(findstring amd64,$(ARCH))) - MIXXX_SCONS_FLAGS += machine=x86_64 + MIXXX_SCONS_FLAGS += machine=x86_64 + MIXXX_BUILD_FOLDER = "lin64_build" endif # parallel builds for scons @@ -35,9 +38,9 @@ override_dh_auto_build: override_dh_auto_clean: scons $(MIXXX_SCONS_FLAGS) -c || true - rm -rf .sconf_temp/ cache/ linux_build/ + rm -rf .sconf_temp/ cache/ $(MIXXX_BUILD_FOLDER)/ dh_clean .sconsign.dblite cachecustom.py \ - config.log src/build.h build/*.pyc mixxx.1 + config.log src/build.h build/*.pyc mixxx.1 lib/*/lib/*.a dh_auto_clean override_dh_auto_install: |