From 18e6cff861ee839166613feb4354af70eac0a62d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 4 Jun 2017 10:34:47 +0200 Subject: Use dh_auto_configure instead of ./configure. Update rm paths for multiarch --- debian/changelog | 4 ++++ debian/rules | 9 ++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index e44807b..7c9df89 100644 --- a/debian/changelog +++ b/debian/changelog @@ -14,6 +14,10 @@ shotwell (0.26.2-1) UNRELEASED; urgency=medium * Don't install man page at shotwell-common. * Some packaging improvements (Closes:# 856708): - Move .desktop and appstream metadata from shotwell-common to shotwell. + - debian/rules: + + Use dh_auto_configure instead of ./configure. + + Update rm paths for multiarch. + + Don't install the .a file either. - Thanks to Jeremy Bicha -- Jörg Frings-Fürst Wed, 22 Mar 2017 06:51:19 +0100 diff --git a/debian/rules b/debian/rules index 9c1d293..7b659ca 100755 --- a/debian/rules +++ b/debian/rules @@ -10,10 +10,13 @@ B_DATE:=$(shell LC_ALL=C date --utc -d "$(CHDATE)") dh $@ override_dh_auto_configure: - ./configure --prefix=/usr --libexec=/usr/lib --disable-schemas-compile + dh_auto_configure -- --prefix=/usr \ + --libexec=/usr/lib \ + --disable-schemas-compile override_dh_install: dh_install # Remove unwanted la files - rm -f debian/shotwell/usr/lib/shotwell/plugins/builtin/*.la - rm -f debian/shotwell/usr/lib/*.la + rm -f debian/shotwell/usr/lib/*/shotwell/plugins/builtin/*.la + rm -f debian/shotwell/usr/lib/*/*shotwell*.a + rm -f debian/shotwell/usr/lib/*/*shotwell*.la -- cgit v1.2.3