File: rules

package info (click to toggle)
gnome-pkg-tools 0.22.13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 88 kB
  • sloc: perl: 39; makefile: 14
file content (18 lines) | stat: -rwxr-xr-x 482 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

%:
	dh $@

execute_before_dh_install:
ifeq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes))
	sed -i '8i insert_before("dh_compress", "dh_translations");' dh/gnome.pm
	sed -i '9i insert_after("dh_link", "dh_scour");' dh/gnome.pm
endif

override_dh_gencontrol:
ifeq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes))
	dh_gencontrol -- \
		-Vubuntu:Depends='dh-translations, gir1.2-rsvg-2.0, python3-gi-cairo, scour'
else
	dh_gencontrol
endif