summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog3
-rwxr-xr-xdebian/rules16
2 files changed, 7 insertions, 12 deletions
diff --git a/debian/changelog b/debian/changelog
index dd40392..7e06f5d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,9 @@ simple-scan (3.15.4-1) UNRELEASED; urgency=medium
* debian/control:
- Change Architecture to linux-any to prevent build error
on systems with no systemd.
+ * debian/rules:
+ - Remove oldstyle hardening tags.
+ - Remove useless comments.
-- Jörg Frings-Fürst <debian@jff-webhosting.net> Mon, 19 Jan 2015 09:43:33 +0100
diff --git a/debian/rules b/debian/rules
index 66ff5ec..0a0bbe9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,4 @@
-#!/usr/bin/make -f
+#!/usr/bin/make -f
#
# 2014-07-22 Jörg Frings-Fürst <debian@jff-webhosting.net>
@@ -6,23 +6,15 @@
# - enable hardening
# - install NEWS as upstream changelog
#
+# 2015-01-19 Jörg Frings-Fürst <debian@jff-webhosting.net>
#
-
+# - remove old style hardening.
+# - remove useless comments.
#
# Hardening
#
-#
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
-
-#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