From 7cccbd28c9d33054ad69bb70af406e44bc996abb Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Wed, 15 Oct 2014 02:41:42 +0100 Subject: Fix various bugs in Debian packaging --- debian/rules | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 2fc9454..4429730 100755 --- a/debian/rules +++ b/debian/rules @@ -1,12 +1,17 @@ #!/usr/bin/make -f -DEB_CONFIGURE_EXTRA_FLAGS = --with-serial=/dev/ttyS0 - %: dh $@ --with autoreconf +override_dh_auto_configure: + dh_auto_configure -- --with-serial=/dev/ttyS0 --with-initdir=/etc/init.d + override_dh_auto_install: dh_auto_install + for file in debian/plptools/usr/lib/*/plptools/*.la; do \ + sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \ + done + rm debian/plptools/usr/lib/*/plptools/*.so install -T -D -m 644 debian/plptools.conf debian/plptools/etc/default/plptools override_dh_clean: -- cgit v1.2.3