File: rules

package info (click to toggle)
worker 4.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,148 kB
  • sloc: cpp: 121,184; sh: 4,820; yacc: 1,599; makefile: 746; lex: 278; python: 85; xml: 30
file content (14 lines) | stat: -rwxr-xr-x 276 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

# Use all hardening features
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Link only with needed libraries
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@

override_dh_auto_configure:
	# Use libmagic
	dh_auto_configure -- --with-libmagic