Cura-packaging/CuraEngine/rules
2017-08-23 16:14:46 +02:00

24 lines
488 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
ifeq ($(DEB_ARCH),i386)
override_dh_auto_test:
@echo "Ignoring tests on $(DEB_ARCH)"
dh_auto_test || true
endif