[SCM] giada/master: Clean up rules file.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Sun Jan 15 18:40:05 UTC 2017


The following commit has been merged in the master branch:
commit 423ca04b0d9cbff23c0c1008b2836f469ae729a2
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Sun Jan 15 19:12:25 2017 +0100

    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>\(.*\)<\/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

-- 
giada packaging



More information about the pkg-multimedia-commits mailing list