#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ override_dh_auto_test: # tests require an X server xvfb-run -a dh_auto_test override_dh_gencontrol: dh_gencontrol -- \ -Vgnome:MinimumVersion=$(shell python3 -c "import json; print(min(int(x) for x in json.load(open('debian/tmp/usr/share/gnome-shell/extensions/pomodoro@arun.codito.in/metadata.json', 'rt'))['shell-version']))") \ -Vgnome:MaximumVersion=$(shell python3 -c "import json; print(1+max(int(x) for x in json.load(open('./debian/tmp/usr/share/gnome-shell/extensions/pomodoro@arun.codito.in/metadata.json', 'rt'))['shell-version']))")