From: Jaromír Mikeš Date: Sun, 15 Jan 2017 18:12:25 +0000 (+0100) Subject: Clean up rules file. X-Git-Tag: archive/raspbian/0.15.4+ds1-1+rpi1^2~117 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=423ca04b0d9cbff23c0c1008b2836f469ae729a2;p=giada.git Clean up rules file. --- 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