File: rules

package info (click to toggle)
polari 3.22.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,772 kB
  • ctags: 317
  • sloc: sh: 4,907; ansic: 867; makefile: 157; xml: 122; sed: 16
file content (31 lines) | stat: -rwxr-xr-x 828 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
27
28
29
30
31
#!/usr/bin/make -f

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
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_install:
	# Since dh_install -X.la isn't working...
	find debian/polari -name '*.la' -delete
	dh_install -X.la

override_dh_installchangelogs:
	dh_installchangelogs NEWS

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

override_dh_strip:
	dh_strip --dbgsym-migration='polari-dbg (<< 3.20.2-1~)'

override_dh_makeshlibs:
	dh_makeshlibs -Xlibpolari-1.0.so