File: rules

package info (click to toggle)
farstream-0.2 0.2.8-4.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 7,972 kB
  • sloc: ansic: 43,088; sh: 12,143; perl: 3,071; python: 1,921; makefile: 803; xml: 692
file content (30 lines) | stat: -rwxr-xr-x 896 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

override_dh_install:
	find debian/tmp/usr/lib/ -name *.la -exec rm {} \;
	find debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/farstream-0.2 -name *.a -exec rm {} \;
	find debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gstreamer-1.0  -name *.a -exec rm {} \;
	dh_install --list-missing

override_dh_makeshlibs:
	dh_makeshlibs -plibfarstream-0.2-5 \
		-X/usr/lib/$(DEB_HOST_MULTIARCH)/gstreamer-1.0 \
		-X/usr/lib/$(DEB_HOST_MULTIARCH)/farstream-0.2

override_dh_auto_test:
	:
override_dh_auto_configure:
	dh_auto_configure -- --enable-gtk-doc --disable-silent-rules

override_dh_strip:
	dh_strip --ddeb-migration='libfarstream-0.2-dbg (<< 0.2.7-1~)'

%:
	dh $@ --with autoreconf,gir