File: rules

package info (click to toggle)
bittwist 4.7%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 840 kB
  • sloc: ansic: 4,088; python: 1,296; makefile: 79; sh: 1
file content (16 lines) | stat: -rwxr-xr-x 322 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

execute_before_dh_auto_build:
	mkdir -pv bin

execute_after_dh_auto_test:
	mkdir -pv debian/tests/pcap/
ifeq ($(DEB_BUILD_ARCH_ENDIAN),little)
	for i in tests/pcap/*;do ./bin/bittwiste -I "$$i" -O debian/"$$i";done
endif

%:
	dh $@