File: rules

package info (click to toggle)
gnome-shell-extension-desktop-icons-ng 48.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,424 kB
  • sloc: javascript: 8,703; xml: 109; sh: 69; python: 18; makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 460 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

%:
	dh $@

override_dh_fixperms:
	dh_fixperms -XcreateThumbnail.js -Xding.js

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

override_dh_gnome_clean: