File: rules

package info (click to toggle)
kronosnet 1.25-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,972 kB
  • sloc: ansic: 24,813; sh: 4,795; makefile: 645
file content (21 lines) | stat: -rwxr-xr-x 523 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Ensure that we link against all needed libraries (cf. Policy 10.2)
export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--docdir=/usr/share/doc/libknet1 \
		`dh_listpackages | grep -q '^libknet-doc$$' || printf %s --disable-man` \
		--disable-static

override_dh_installdocs:
	dh_installdocs -A COPYRIGHT README

override_dh_makeshlibs:
	dh_makeshlibs --exclude=/kronosnet/ # ignore the modules