File: rules

package info (click to toggle)
zam-plugins 3.14~repack3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 105,984 kB
  • sloc: cpp: 169,184; ansic: 16,023; makefile: 1,266; objc: 772; pascal: 209; sh: 193; python: 178; javascript: 50
file content (24 lines) | stat: -rwxr-xr-x 485 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
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
export HAVE_ZITA_CONVOLVER = true
export SKIP_STRIPPING = true

noopt = $(if $(filter amd64,$(DEB_HOST_ARCH)),NOOPT=false,NOOPT=true)

%:
	dh $@

override_dh_auto_clean:

override_dh_auto_build:
	$(MAKE) \
		PREFIX=/usr \
		$(noopt)

override_dh_auto_install:
	$(MAKE) install \
		DESTDIR=$(CURDIR)/debian/zam-plugins \
		PREFIX=/usr
	chmod 644 $(CURDIR)/debian/zam-plugins/usr/lib/lv2/*/*.ttl