mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-21 06:23:52 +00:00
debhelper 10 is available in the following Debian/Ubuntu releases: - Debian 8.x Jessie (jessie-backports) - Debian 9.x Stretch / unstable - Ubuntu 16.04 Xenial (xenial-backports) - Ubuntu 16.10 Yakkety debhelper supports dh-autoreconf and dh-systemd by default, so we can safely remove a few Build-Depends and dh params. We also sync a few other files under debian/ folder with Debian release 3.0.2+ds-1~exp1.
28 lines
645 B
Makefile
Executable File
28 lines
645 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# See debhelper(7) (uncomment to enable)
|
|
# output every command that modifies files on the build system.
|
|
#export DH_VERBOSE = 1
|
|
|
|
# Security Hardening
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
|
|
DPKG_EXPORT_BUILDFLAGS = 1
|
|
include /usr/share/dpkg/buildflags.mk
|
|
|
|
override_dh_auto_install:
|
|
find src/ -name '*.la' -delete
|
|
dh_auto_install
|
|
|
|
override_dh_auto_configure:
|
|
# Whether to have stack-protector is decided by dpkg-buildflags.
|
|
# So --disable-ssp here should be safe. See Bug#829498
|
|
dh_auto_configure -- \
|
|
--enable-shared \
|
|
--disable-ssp
|
|
|
|
override_dh_installchangelogs:
|
|
dh_installchangelogs -XChanges
|
|
|
|
%:
|
|
dh $@
|