File: rules

package info (click to toggle)
alsa-lib 1.0.28-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 7,228 kB
  • ctags: 10,077
  • sloc: ansic: 77,234; sh: 11,192; makefile: 625
file content (33 lines) | stat: -rwxr-xr-x 772 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
32
33
#!/usr/bin/make -f

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

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- \
		--with-plugindir=/usr/lib/$(DEB_HOST_MULTIARCH)/alsa-lib \
		--disable-silent-rules \
		--disable-static \
		--disable-python

override_dh_auto_build-indep:
	$(MAKE) doc

override_dh_auto_test-indep:

override_dh_auto_install-indep:
	$(MAKE) -C doc install

override_dh_strip:
	dh_strip --dbg-package=libasound2-dbg

override_dh_makeshlibs:
	dh_makeshlibs --exclude=usr/lib/$(DEB_HOST_MULTIARCH)/alsa-lib/smixer -V'libasound2 (>= 1.0.27)' --add-udeb=libasound2-udeb -- -c4

override_dh_install:
	dh_install --list-missing

override_dh_installchangelogs:
	dh_installchangelogs debian/changelog.ALSA