File: rules

package info (click to toggle)
liblo 0.30-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 888 kB
  • sloc: ansic: 8,172; cpp: 991; sh: 201; makefile: 154
file content (33 lines) | stat: -rwxr-xr-x 610 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

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

.PHONY: build
%:
	dh $@ --with buildinfo

build: build-arch

override_dh_autoreconf:
	test -e README || ln -v README.md README
	dh_autoreconf

override_dh_autoreconf_clean:
	rm -f README
	dh_autoreconf_clean

override_dh_auto_configure:
	test "$(DEB_HOST_ARCH_CPU)" != "sparc"
	test "$(DEB_HOST_ARCH_CPU)" != "sparc64"
	dh_auto_configure -- \
		--enable-static \
		--disable-network-tests \
		--enable-tests \
		--enable-examples


override_dh_missing:
	dh_missing --fail-missing