File: rules

package info (click to toggle)
pd-aubio 0.4-1
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 744 kB
  • ctags: 1,529
  • sloc: python: 11,998; ansic: 546; makefile: 23
file content (37 lines) | stat: -rwxr-xr-x 800 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
#!/usr/bin/make -f
# -*- makefile -*-

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

WAF_OPTIONS = --verbose --prefix=/usr --destdir=debian/pd-aubio
WAF_CMD = ./waf --nocache

%:
	dh $@ 

override_dh_auto_clean:
	$(WAF_CMD) distclean

override_dh_auto_configure:
	$(WAF_CMD) configure $(WAF_OPTIONS)

override_dh_auto_build-arch:
	$(WAF_CMD) build $(WAF_OPTIONS)

override_dh_auto_install:
	$(WAF_CMD) install $(WAF_OPTIONS)

override_dh_fixperms:
	dh_fixperms
	find debian -name '*.pd_linux' -exec \
		chmod 0644 {} +

override_dh_strip:
	dh_strip
	find debian -name "*.pd_linux" -exec \
		strip --remove-section=.comment --remove-section=.note --strip-unneeded {} +

override_dh_shlibdeps:
	find debian -name "*.pd_linux" -exec \
		dpkg-shlibdeps -Tdebian/pd-aubio.substvars {} +