5b9a1bed77
Ultimaker made some crap here. GMock and GTest can't be found and it keeps trying to download it all the time.
22 lines
522 B
Makefile
Executable File
22 lines
522 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
# output every command that modifies files on the build system.
|
|
#export DH_VERBOSE = 1
|
|
|
|
DEB_PACKAGE_VERSION ?= $(shell dpkg-parsechangelog -SVersion | cut -f2 -d":" | cut -f1 -d"~")
|
|
|
|
%:
|
|
dh $@ --buildsystem=cmake --parallel
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure -- \
|
|
-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \
|
|
-DBUILD_TESTS:BOOL=OFF \
|
|
-DCURA_ENGINE_VERSION=${DEB_PACKAGE_VERSION}
|
|
|
|
override_dh_install:
|
|
dh_install --fail-missing
|
|
|
|
override_dh_auto_test:
|
|
dh_auto_test || true
|