File: rules

package info (click to toggle)
gnome-sushi 3.21.91-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,364 kB
  • ctags: 617
  • sloc: sh: 4,125; ansic: 3,626; makefile: 108; xml: 6
file content (26 lines) | stat: -rwxr-xr-x 648 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/make -f

GNOME_MODULE := sushi

-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
include /usr/share/dpkg/architecture.mk

export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs -Wl,-O1 -Wl,--as-needed

%:
	dh $@ --with gnome,gir

override_dh_autoreconf:
	dh_autoreconf --as-needed

override_dh_makeshlibs:
	dh_makeshlibs -X/usr/lib/$(DEB_HOST_MULTIARCH)/sushi

override_dh_girepository:
	dh_girepository -ldebian/gnome-sushi/usr/share/sushi/gir-1.0 \
		/usr/lib/$(DEB_HOST_MULTIARCH)/sushi/ \
		/usr/lib/$(DEB_HOST_MULTIARCH)/sushi/girepository-1.0/

override_dh_install:
	find debian -name '*.la' -delete
	dh_install --list-missing