diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-07-23 18:35:13 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-07-23 18:35:13 +0200 |
commit | 608e7e94423585d4fff5e31c9c9a98b3165ed3c9 (patch) | |
tree | d6aaa12c05632529f95e00c8726f8ba0b2e0dc3c /debian/rules | |
parent | 44a1fdd0075c7818b65d4191290cdce733687146 (diff) |
new maintainer, new upstream releasedebian/3.13.4.2-1
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..c652ac6 --- /dev/null +++ b/debian/rules @@ -0,0 +1,54 @@ +#!/usr/bin/make -f + +# +# 2014-07-22 Jörg Frings-Fürst <debian@jff-webhosting.net> +# +# - enable hardening +# - install NEWS as upstream changelog +# +# + + +# +# Hardening +# +# +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) +export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) +export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) +export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) + +LDFLAGS+=-Wl,--as-needed + +%: + dh $@ --with=autoreconf,scour + +# Fixes FTBFS +override_dh_auto_test: + +# Autoreconf due to 01_lpi.patch +override_dh_autoreconf: + [ -e gnome-doc-utils.make ] || \ + ln -s /usr/share/gnome-doc-utils/gnome-doc-utils.make + dh_autoreconf + +override_dh_auto_clean: + dh_auto_clean + [ ! -h gnome-doc-utils.make ] || \ + rm gnome-doc-utils.make + +override_dh_auto_build: + cd po; intltool-update -p + dh_auto_build + +override_dh_strip: + dh_strip -psimple-scan --dbg-package=simple-scan-dbg + +override_dh_installdocs: + dh_installdocs --link-doc=simple-scan + +override_dh_installchangelogs: + dh_installchangelogs NEWS + |