File: rules

package info (click to toggle)
nss-mdns 0.15.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,776 kB
  • sloc: sh: 4,782; ansic: 1,957; makefile: 115
file content (30 lines) | stat: -rwxr-xr-x 628 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
#!/usr/bin/make -f

export DEB_CFLAGS_MAINT_APPEND=-Wall
export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs
export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow

include /usr/share/dpkg/default.mk

%:
	dh $@

more_configure_options=

ifeq ($(filter nocheck,$(DEB_BUILD_PROFILES)),)
more_configure_options += --enable-tests
endif

override_dh_auto_configure:
	dh_auto_configure -- \
		--prefix=/ \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--libexecdir=/lib/nss-mdns \
		$(more_configure_options) \
		$(NULL)

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp