summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules10
1 files changed, 6 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules
index 2a863a5..3183e7b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,12 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+#
+# Test for gcc-6 support
+#
+#export CC=gcc-6
+#export CXX=g++-6
+
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
VERSION = $(shell head -n1 debian/changelog | sed -e 's/.*(//;s/-.*).*//;s/\+/\-/')
@@ -16,9 +22,6 @@ VERSION = $(shell head -n1 debian/changelog | sed -e 's/.*(//;s/-.*).*//;s/\+/\-
%:
dh $@ --with autoreconf
-#override_dh_installman:
-# dh_installman -plibonig-dev -A debian/onig-config.1
-
override_dh_strip:
dh_strip --dbg-package=libonig3-dbg
@@ -29,4 +32,3 @@ override_dh_install:
override_dh_makeshlibs:
dh_makeshlibs
dpkg-gensymbols -v$(VERSION) -plibonig3
-