[mbsystem] 22/39: take care of some lintian issues

Andreas Tille tille at debian.org
Thu Aug 20 08:40:13 UTC 2015


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

tille pushed a commit to branch master
in repository mbsystem.

commit fabf76033bc9de35b3f401d0d6f811bb61853d2b
Author: M. Hamish Bowman <hamish_b at yahoo.com>
Date:   Sat Jun 8 03:33:34 2013 +0000

    take care of some lintian issues
---
 debian/rules | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/debian/rules b/debian/rules
index 5cfafd9..e71137e 100644
--- a/debian/rules
+++ b/debian/rules
@@ -23,6 +23,13 @@ override_dh_auto_configure:
 override_dh_installchangelogs:
 	dh_installchangelogs ChangeLog
 
+override_dh_install:
+	# add some missing shebangs to Perl scripts
+	sed -i "1i #!/usr/bin/perl" `find $(CURDIR)/debian/tmp/usr/bin -type f -executable -name 'mbm_*'`
+	# take care of lintian tag: non-empty-dependency_libs-in-la-file
+	sed -i "/dependency_libs/ s/'.*'/''/" `find $(CURDIR)/debian/tmp/usr/lib -name '*.la'`
+	dh_install
+
 
 # problematic: the upstream tarball is officially "pkg-latest.tar.gz",
 #  which is then symlinked to an exact pkg-x.y.svn_rev.tar.gz filename.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mbsystem.git



More information about the Pkg-grass-devel mailing list