summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-04-14 08:44:49 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-04-14 08:44:49 +0200
commit0e6f9c46bb9b7fa479f2b09159577b2618a2ea38 (patch)
tree8a7d24a44f80cdbbede352d0b3b9d953d8919269 /debian/rules
parenta1fa01042a375e1d79aef9d96186ae40dfb64630 (diff)
move empty dependency_libs in all .la files to override_dh_makeshlibs-arch
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 9bfe309..5d684de 100755
--- a/debian/rules
+++ b/debian/rules
@@ -78,7 +78,7 @@ override_dh_auto_install-arch:
test -e debian/tmp/$$mp && echo $$mp >> debian/libsane-common.install; done }
# Empty dependency_libs in all .la files
find debian/tmp/usr -name "*.la" -type f -exec sed -e "s,^dependency_libs=.*,dependency_libs=''," -i {} \;
-
+ find debian -name "*.la" -type f -exec sed -i "/dependency_libs/ s/'.*'/''/" -i {} \;
override_dh_install-arch:
dh_install
@@ -138,3 +138,6 @@ override_dh_strip-arch:
override_dh_makeshlibs-arch:
dh_makeshlibs -- -v$(VERSION) -Pdebian/libsane -plibsane
+ # Empty dependency_libs in all .la files
+ find debian/tmp/usr -name "*.la" -type f -exec sed -e "s,^dependency_libs=.*,dependency_libs=''," -i {} \;
+ find debian -name "*.la" -type f -exec sed -i "/dependency_libs/ s/'.*'/''/" -i {} \;