summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-06-04 10:34:47 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-06-04 10:34:47 +0200
commit18e6cff861ee839166613feb4354af70eac0a62d (patch)
treebbf8f7ffc152878f35519273b6170554affe34d1 /debian/rules
parent5a45ac2b70909f7d0b0c5bcc2f2583e4b3135fde (diff)
Use dh_auto_configure instead of ./configure. Update rm paths for multiarch
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules9
1 files changed, 6 insertions, 3 deletions
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