mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-22 23:56:01 +00:00
* Fix d/control dependency * Add --disable-ssp in d/rules and depend on dpkg-buildflags
26 lines
551 B
Makefile
Executable File
26 lines
551 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:
|
|
dh_auto_configure -- \
|
|
--enable-shared \
|
|
--disable-ssp
|
|
|
|
override_dh_installchangelogs:
|
|
dh_installchangelogs -XChanges
|
|
|
|
%:
|
|
dh $@ --with systemd
|