Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4 export OPENSSH_NO_DOCKER = true
5
6 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
7
8 # openssl license issue has been fixed: #668271, #924937
9 #CONFIGURE_EXTRA_FLAGS += --with-libgcrypt --without-openssl
10 CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
11 CONFIGURE_EXTRA_FLAGS += --disable-rpath
12
13 %:
14 dh $@ --with autoreconf
15
16 override_dh_auto_configure:
17 dh_auto_configure -- --disable-docker-tests \
18 --disable-sshd-tests \
19 $(CONFIGURE_EXTRA_FLAGS)
20
21 override_dh_installexamples:
22 dh_installexamples -a -X .deps -X Makefile -X .gitignore
23
24 override_dh_installchangelogs:
25 dh_installchangelogs NEWS
26
27 #
28 # mansyntax.sh test duplicates functionality of debhelper and requires presence
29 # of en_US.utf8 locale. Ensure it is not run by providing a fake man(1) tool.
30 #
31 override_dh_auto_test:
32 PATH=$(CURDIR)/debian:$$PATH dh_auto_test -a