Cura-packaging/2.3/Cura/rules
Thomas-Karl Pietrowski 89679316b4 2.3: Workaround for wrong versioning
Needed as wrong packaging files went into stable PPA (only wrong version to the packages - content is still 2.3.x).
2016-11-18 15:55:47 +01:00

26 lines
642 B
Makefile
Executable File

#!/usr/bin/make -f
# output every command that modifies files on the build system.
export DH_VERBOSE = 1
%:
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/ \
-DCURA_VERSION=2.3.1 \
-DCURA_BUILDTYPE=PPA
override_dh_installmime:
cp -fv cura.sharedmimeinfo debian/cura.sharedmimeinfo
dh_installmime -O--buildsystem=cmake -O--parallel