File: rules

package info (click to toggle)
alsautils 0.0.6-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 248 kB
  • ctags: 259
  • sloc: ansic: 1,769; cpp: 356; sh: 178; makefile: 119
file content (48 lines) | stat: -rwxr-xr-x 768 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/usr/bin/make -f

package=alsadriver

config:
	$(checkdir)
	./configure --prefix=/usr
	touch config

build: config
	make

clean:
	dh_testdir
	dh_clean
	-rm -f config
	-make clean
	-rm -f config.cache config.log config.status Makefile.conf

binary:		binary-indep binary-arch

binary-indep:

binary-arch: build
# Setup everything first
	dh_testdir
	dh_testroot
	dh_clean
	install -d debian/tmp
	install -d debian/tmp/usr/bin

# Install the software
	make INSTROOT=debian/tmp install

# Install the manual
	dh_installdocs README
	dh_installchangelogs CHANGELOG
	dh_strip
	dh_compress
	dh_fixperms
	dh_shlibdeps
	dh_undocumented alsamixer.1 amixer.1 aplay.1 arecord.1
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

.PHONY: binary binary-arch binary-indep clean