Package list kdav / cme/main debian / rules
cme/main

Tree @cme/main (Download .tar.gz)

rules @cme/mainraw · history · blame

#!/usr/bin/make -f
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with kf5,pkgkde_symbolshelper  --buildsystem kf5 --without build_stamp

override_dh_auto_configure:
	dh_auto_configure -- -DBUILD_QCH=ON

override_dh_auto_test:
	mkdir -p $(CURDIR)/obj-$(DEB_HOST_GNU_TYPE)/runtime
	chmod 700 $(CURDIR)/obj-$(DEB_HOST_GNU_TYPE)/runtime
	- XDG_RUNTIME_DIR=$(CURDIR)/obj-$(DEB_HOST_GNU_TYPE)/runtime xvfb-run --server-args="-screen 0 1024x768x24 +extension GLX" -- \
	        dh_auto_test --no-parallel
	rm -r $(CURDIR)/obj-$(DEB_HOST_GNU_TYPE)/runtime