File: rules

package info (click to toggle)
totem-pl-parser 3.10.7-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,372 kB
  • ctags: 1,087
  • sloc: ansic: 9,412; sh: 4,108; xml: 2,919; makefile: 398; php: 1
file content (26 lines) | stat: -rwxr-xr-x 658 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

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

libtotem-plparserN := $(shell sed -rn 's/^Package:[[:space:]]*(libtotem-plparser[0-9]+)[[:space:]]*$$/\1/p' debian/control)

%:
	dh $@ --with gnome,gir

override_dh_auto_configure:
	dh_auto_configure -- \
		--libexecdir=\$${libdir}/$(libtotem-plparserN) \
		--enable-gtk-doc

override_dh_autoreconf:
	dh_autoreconf ./autogen.sh

override_dh_makeshlibs:
	dh_makeshlibs -p $(libtotem-plparserN) -V -- -c4
	dh_makeshlibs --remaining-packages

override_dh_strip:
	dh_strip --dbgsym-migration="libtotem-plparser-dbg (<< 3.10.6-5~)"

override_dh_auto_test:
	dh_auto_test || true