Author: hamish-guest
Date: 2013-06-08 03:33:34 +0000 (Sat, 08 Jun 2013)
New Revision: 3105

Modified:
   packages/mbsystem/trunk/debian/rules
Log:
take care of some lintian issues

Modified: packages/mbsystem/trunk/debian/rules
===================================================================
--- packages/mbsystem/trunk/debian/rules        2013-06-08 02:52:53 UTC (rev 
3104)
+++ packages/mbsystem/trunk/debian/rules        2013-06-08 03:33:34 UTC (rev 
3105)
@@ -23,7 +23,14 @@
 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.
 #  but sometimes there are newer x.y.svn_rev versions there for testing,


_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to