File: rules

package info (click to toggle)
farstream-0.2 0.2.9-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 7,224 kB
  • sloc: ansic: 40,407; sh: 4,623; perl: 2,868; python: 1,522; makefile: 744; xml: 638
file content (30 lines) | stat: -rwxr-xr-x 870 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

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 gir