2cac680cab
The CURA_BUILDTYPE option has been removed...
28 lines
859 B
Makefile
Executable File
28 lines
859 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 $@ --with python3 --buildsystem=cmake --parallel
|
|
|
|
override_dh_clean:
|
|
rm -fv debian/cura.sharedmimeinfo
|
|
dh_clean -O--buildsystem=cmake -O--parallel
|
|
|
|
override_dh_install:
|
|
dh_install --fail-missing
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure -- \
|
|
-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \
|
|
-DURANIUM_SCRIPTS_DIR=/usr/share/uranium/scripts/ \
|
|
-DGETTEXT_MSGINIT_EXECUTABLE=/usr/bin/msginit \
|
|
-DCURA_VERSION="$(DEB_PACKAGE_VERSION) (PPA)"
|
|
|
|
override_dh_installmime:
|
|
cp -fv cura.sharedmimeinfo debian/cura.sharedmimeinfo
|
|
dh_installmime -O--buildsystem=cmake -O--parallel
|