Cura-packaging/CuraEngine/rules
Thomas Karl Pietrowski 122e98bbf2 CuraEngine: Ignoring the correct arch!
Should be i386 not amd64..
2017-08-21 09:15:23 +02:00

24 lines
496 B
Makefile
Executable File

#!/usr/bin/make -f
DEB_ARCH=$(shell dpkg --print-architecture)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1
%:
dh $@ --buildsystem=cmake --parallel
override_dh_auto_configure:
dh_auto_configure -- \
-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \
-DBUILD_TESTS:BOOL=ON
override_dh_install:
dh_install --fail-missing
ifneq ($(DEB_ARCH),i386)
override_dh_auto_test:
@echo "Ignoring tests on $(DEB_ARCH)"
dh_auto_test || true
endif