File: rules

package info (click to toggle)
nfdump 1.6.15-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 7,760 kB
  • ctags: 6,935
  • sloc: ansic: 44,475; sh: 4,690; yacc: 1,861; perl: 375; lex: 285; makefile: 131
file content (37 lines) | stat: -rwxr-xr-x 886 bytes parent folder | download | duplicates (2)
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
30
31
32
33
34
35
36
37
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with systemd

# Build nfdump with nfprofile for nfsen
# --enable-nfprofile

# Build ft2nfdump converter. The flow-tools 
# sources are required to build ft2nfdump.
# --enable-ftconv 
# --with-ftpath[=flow-tools sources]
#
# Build sflow collector daemon.
# --enable-sflow

override_dh_auto_configure:
	dh_auto_configure -- --enable-compat15 \
		--enable-nfprofile \
		--enable-ftconv --with-ftpath=/usr \
		--enable-nftrack \
		--enable-sflow \
		--enable-shared=no

# Disable test suite, has not run before and seems to be broken
override_dh_auto_test:

# Disable automatic dbgsym generation for now and keep manual -dbg
override_dh_strip:
	dh_strip --dbg-package=nfdump-dbg

override_dh_install:
	rm -f debian/tmp/usr/lib/*/libnfdump.a
	rm -f debian/tmp/usr/lib/*/libnfdump.la
	dh_install --fail-missing