File: rules

package info (click to toggle)
proxy-suite 1.9.2.4-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,060 kB
  • sloc: ansic: 6,533; sh: 2,968; makefile: 285
file content (29 lines) | stat: -rwxr-xr-x 606 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
export INSTALL=/usr/bin/install --strip-program=true

LDFLAGS += -Wl,--as-needed

override_dh_auto_configure:
	dh_auto_configure -- \
		--enable-warnings \
		--enable-so-linger \
		--with-regex \
		--with-libwrap \
		--with-libldap \
		--with-crypt

override_dh_auto_build-indep:
	dh_auto_build -i -- -C doc all

override_dh_auto_install:
	dh_auto_install -- INST_ROOT=$(CURDIR)/debian/tmp/

override_dh_installsystemd:
	dh_installsystemd --no-enable --no-start

%:
	dh $@