File: rules

package info (click to toggle)
dsniff 2.5a2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,104 kB
  • sloc: ansic: 13,081; sh: 152; makefile: 140
file content (13 lines) | stat: -rwxr-xr-x 437 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Setting the C dialect per '-std=gnu17' so that this code, abandoned upstream,
# still compiles with GCC-15.
export DEB_CFLAGS_MAINT_APPEND = -std=gnu17 -I/usr/include/tirpc/
export DEB_LDFLAGS_MAINT_APPEND = -ltirpc
%:
	dh  $@

override_dh_auto_install:
	# prefix is hardcoded in Makefile.in
	dh_auto_install -- prefix=debian/dsniff/usr sbindir=debian/dsniff/usr/bin