File: rules

package info (click to toggle)
ipset 7.24-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,376 kB
  • sloc: ansic: 32,867; sh: 5,855; makefile: 246; awk: 3
file content (17 lines) | stat: -rwxr-xr-x 484 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all abi=+time64
export DEB_CFLAGS_MAINT_APPEND=-fstack-protector-all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --with-kmod=no --enable-settype-modules

BASHCOMPL_INSTDIR := debian/tmp/usr/share/bash-completion/completions
override_dh_auto_install:
	mkdir -p $(BASHCOMPL_INSTDIR)
	install --mode=0644 utils/ipset_bash_completion/ipset \
	  $(BASHCOMPL_INSTDIR)/ipset
	dh_auto_install