File: rules

package info (click to toggle)
audiofile 0.3.6-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 4,936 kB
  • sloc: cpp: 36,528; sh: 11,090; ansic: 6,049; makefile: 441
file content (25 lines) | stat: -rwxr-xr-x 688 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
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)

%:
	dh $@ --parallel --with autoreconf

override_dh_strip:
	dh_strip --dbgsym-migration='libaudiofile-dbg (<< 0.3.6-3~)'

override_dh_makeshlibs:
	dh_makeshlibs -V

override_dh_auto_test:
	@if test "$(DEB_HOST_GNU_TYPE)" = "$(DEB_BUILD_GNU_TYPE)"; then \
		dh_auto_test ; \
	else \
		echo "Skipping regression tests because we appear to be cross-compiling"; \
	fi