[med-svn] [relion] 28/36: d/rules: Fix lintian non-empty-dependency_libs-in-la-file problems

Roland Fehrenbacher rfehren-guest at moszumanska.debian.org
Mon Oct 13 20:41:12 UTC 2014


This is an automated email from the git hooks/post-receive script.

rfehren-guest pushed a commit to branch master
in repository relion.

commit df0288f6ea0dc3006d8d9e6535219380c67c84cb
Author: Roland Fehrenbacher <rf at q-leap.de>
Date:   Mon Oct 13 16:24:06 2014 +0000

    d/rules: Fix lintian non-empty-dependency_libs-in-la-file problems
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 19c1d09..ac5c9d1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -46,6 +46,9 @@ override_dh_auto_build:
 	# ... then clitools ...
 	$(CONFIGURE_COMMON) --disable-gui
 	make $(MAKE_-J); make install prefix=$(CURDIR)/debian/tmp/usr
+	# clear dependency_libs field in *.la files
+	# see lintian non-empty-dependency_libs-in-la-file for reference
+	sed -i "/dependency_libs/ s/'.*'/''/" $$(find debian/tmp/ -name '*.la')
 
 override_dh_prep:
 	# We don't want debian/tmp to be removed again ...

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/relion.git



More information about the debian-med-commit mailing list