#!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # lots of deprecation warnings, so disable them for now export DEB_CXXFLAGS_MAINT_APPEND = -Wno-deprecated -Wno-deprecated-declarations include /usr/share/dpkg/pkg-info.mk %: dh $@ execute_before_dh_clean: # yes, this is really meant to NOT be uploaded to unstable # until upstream declares it safe/working $(if $(filter unstable sid,$(DEB_DISTRIBUTION)),$(error DO NOT UPLOAD TO UNSTABLE)) override_dh_auto_configure: dh_auto_configure -Skf6 -- -DFOUNDATION_BUILD=OFF -DBUILD_TESTING=OFF -DENABLE_UPDATERS=OFF -DKRITA_ENABLE_PCH=OFF -DBUILD_WITH_QT6=ON -DALLOW_UNSTABLE=QT6 execute_after_dh_auto_install: # remove symlinks of private libraries find debian/tmp -name '*.so' -type l -print -delete # remove development headers rm -rfv debian/tmp/usr/include/ .PHONY: override_dh_auto_test