From 423ca04b0d9cbff23c0c1008b2836f469ae729a2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jarom=C3=ADr=20Mike=C5=A1?= Date: Sun, 15 Jan 2017 19:12:25 +0100 Subject: [PATCH] Clean up rules file. --- debian/rules | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/debian/rules b/debian/rules index 9a62220..612807e 100755 --- a/debian/rules +++ b/debian/rules @@ -1,19 +1,16 @@ #!/usr/bin/make -f -# Path to the debian directory -DEBIAN_DIR := $(shell echo ${MAKEFILE_LIST} | awk '{print $$1}' | xargs dirname ) -UPSTREAM_VERSION ?=$(shell uscan --dehs | sed -n 's/.*\(.*\)<\/upstream-version>.*/\1/p') -PKG = $(shell dpkg-parsechangelog | sed -ne 's/^Source: //p') DATE := $(shell date -u -d "$$(dpkg-parsechangelog -SDate)" +"%Y/%m/%d") export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + CPPFLAGS+=-DBUILD_DATE='"$(DATE)"' CXXFLAGS+=-std=c++11 -LDFLAGS+=-Wl,--as-needed %: - dh $@ --with autoreconf,autotools-dev + dh $@ override_dh_autoreconf: ./autogen.sh @@ -25,7 +22,6 @@ override_dh_auto_configure: override_dh_auto_test: @echo home: $(HOME) HOME=/tmp dh_auto_test -a || (grep . test-suite.log giada_test.log; false) - #make check || (grep . test-suite.log giada_test.log; false) override_dh_auto_clean: dh_auto_clean -- 2.30.2