From f8051cd6521dd813871f6219c224e57e54129c41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 19 Sep 2016 20:31:33 +0200 Subject: Simplify override_dh_auto_configure --- debian/changelog | 4 ++-- debian/rules | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index b36b0e8..d37da5a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,9 +2,9 @@ xbase64 (3.1.2-7) unstable; urgency=low * New debian/patches/0125-gcc6.patch for gcc-6 compatibility (Closes: #811846). - Thanks to + Thanks to Pino Toscano . * debian/rules: - - Some changes for gcc-6 + - Simplify override_dh_auto_configure. * debian/copyright: - Add year 2016 to debian/*. * debian/watch: diff --git a/debian/rules b/debian/rules index 639643b..ef4e18b 100755 --- a/debian/rules +++ b/debian/rules @@ -22,13 +22,13 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) #export CXXFLAGS+= -std=c++98 -confflags = --prefix=/usr --mandir=\$${prefix}/share/man --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --enable-static +#confflags = --prefix=/usr --mandir=\$${prefix}/share/man --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --enable-static %: dh $@ --with autoreconf override_dh_auto_configure: - ./configure $(confflags) + dh_auto_configure -- --enable-static override_dh_install-arch: chmod -x examples/*.cpp -- cgit v1.2.3