File: rules

package info (click to toggle)
gnome-shell-extension-gamemode 8-6
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 452 kB
  • sloc: javascript: 531; sh: 63; python: 43; makefile: 30; xml: 25
file content (9 lines) | stat: -rwxr-xr-x 393 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/usr/bin/make -f

%:
	dh $@ --buildsystem=meson

override_dh_gencontrol:
	dh_gencontrol -- \
		-Vgnome:MinimumVersion=$(shell python3 -c "import json; print(min(int(x) for x in json.load(open('metadata.json.in', 'rt'))['shell-version']))") \
		-Vgnome:MaximumVersion=$(shell python3 -c "import json; print(1+max(int(x) for x in json.load(open('metadata.json.in', 'rt'))['shell-version']))")