#!/usr/bin/make -f

export DEB_CPPFLAGS_MAINT_APPEND := $(shell dpkg-buildflags --get CPPFLAGS)
export DEB_CFLAGS_MAINT_APPEND := $(shell dpkg-buildflags --get CPPFLAGS)

override_dh_auto_configure:
	dh_auto_configure -Skf5 -- -DCMAKE_USE_RELATIVE_PATHS=ON

override_dh_shlibdeps:
	dh_shlibdeps
	dh_sameversiondep

override_dh_strip:
	dh_strip --dbgsym-migration='libktorrent-dbg (<< 2.0.1-1~)'

%:
	dh $@ --parallel --with kf5

.PHONY: override_dh_auto_test
