File: rules

package info (click to toggle)
gnome-shell-extension-runcat 29-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,480 kB
  • sloc: javascript: 310; makefile: 57; xml: 23
file content (14 lines) | stat: -rwxr-xr-x 494 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	glib-compile-schemas --strict --targetdir=src/schemas src/schemas

override_dh_auto_install:

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