File: rules

package info (click to toggle)
ncrack 0.7%2Bdebian-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,944 kB
  • sloc: xml: 82,894; ansic: 43,665; cpp: 18,602; sh: 4,458; makefile: 373
file content (32 lines) | stat: -rwxr-xr-x 849 bytes parent folder | download
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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Files provided by upstream overwritten during the build
# (they need to be restored after the build to ensure that the source package
# can be built after successful build - see https://bugs.debian.org/1048666)
FILES = configure nbase/configure nbase/nbase_config.h.in ncrack_config.h.in \
	nsock/include/nsock_config.h.in nsock/src/aclocal.m4 nsock/src/configure \
	opensshlib/config.h.in opensshlib/configure opensshlib/install-sh

%:
	dh $@

override_dh_autoreconf_clean:
	dh_autoreconf_clean
	for F in $(FILES); do \
		if [ -w $$F.upstream ]; then \
			mv -f $$F.upstream $$F; \
		fi \
	done

override_dh_autoreconf:
	for F in $(FILES); do \
		cp -f $$F $$F.upstream; \
	done
	dh_autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --prefix=/usr

override_dh_dwz: