summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-11 22:52:36 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-11 22:52:36 +0200
commit84a8f501bcac3bc25c35715c0b669db04a39e56d (patch)
tree78fd183ac5918498ca173e8b24e6875e7c89e012 /debian/rules
parentd85232ee17c31a37956fa341295d146099fa3148 (diff)
Enable hardening; Remove License4.txt
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 2b78baa..8cd2669 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,9 @@
export DH_OPTIONS
+# hardening
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
NO_PROC=$(shell cat /proc/cpuinfo | grep processor | wc -l)
JAMCMDLINE = -q -fJambase -j$(NO_PROC) -sPREFIX=/usr -sDESTDIR=$(CURDIR)/debian/tmp -sREFSUBDIR=share/color/argyll/ref
@@ -33,6 +36,7 @@ override_dh_installdocs:
rm -f $(CURDIR)/debian/argyll-doc/usr/share/doc/argyll-doc/License.txt
rm -f $(CURDIR)/debian/argyll-doc/usr/share/doc/argyll-doc/License2.txt
rm -f $(CURDIR)/debian/argyll-doc/usr/share/doc/argyll-doc/License3.txt
+ rm -f $(CURDIR)/debian/argyll-doc/usr/share/doc/argyll-doc/License4.txt
rm -f $(CURDIR)/debian/argyll-doc/usr/share/doc/argyll-doc/DocLicense.txt
rm -f $(CURDIR)/debian/argyll-doc/usr/share/doc/argyll-doc/afiles