File: rules

package info (click to toggle)
lv2 1.0.0~dfsg2-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,824 kB
  • sloc: python: 13,328; ansic: 2,531; makefile: 24
file content (35 lines) | stat: -rwxr-xr-x 585 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
#!/usr/bin/make -f
# -*- makefile -*-

WAF = ./waf

PLUGINS = amp sampler

%:
	dh $@

override_dh_auto_configure:
	$(WAF) configure --prefix=/usr \
		--mandir=/usr/share/man \
		--strict \
		--debug

override_dh_auto_build:
	$(WAF)

override_dh_auto_clean:
	$(WAF) clean || true
	find -name "*.pyc" -delete
	dh_auto_clean

override_dh_auto_install:
	$(WAF) install --destdir=$(CURDIR)/debian/tmp

override_dh_install:
	dh_install
	for plugin in $(PLUGINS); do \
		rm -rf debian/lv2-dev/usr/lib/lv2/eg-$${plugin}.lv2 ; \
	done

override_dh_installchangelogs:
	dh_installchangelogs NEWS