Author: tille
Date: 2011-03-21 09:11:41 +0000 (Mon, 21 Mar 2011)
New Revision: 6334

Modified:
   trunk/packages/abacas/trunk/debian/get-orig-source
   trunk/packages/abacas/trunk/debian/rules
Log:
Some polishing of get-orig-source


Modified: trunk/packages/abacas/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/abacas/trunk/debian/get-orig-source  2011-03-21 08:52:22 UTC 
(rev 6333)
+++ trunk/packages/abacas/trunk/debian/get-orig-source  2011-03-21 09:11:41 UTC 
(rev 6334)
@@ -1,10 +1,9 @@
-#!/bin/sh
+#!/bin/sh -e
 # creating source tarbal for abacas which comes as plain Perl file
 # and needs to be putin to a tarball
 
 PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
 
-set -x
 if ! echo $@ | grep -q upstream-version ; then
     # if called manually run uscan to obtain file and version number
     # VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 
's/\([0-9\.]\+\)-[0-9]\+$/\1/'`
@@ -36,11 +35,13 @@
 rm -f ../${PKG}.${VERSION}.pl
 
 cd ${PKG}-${VERSION}
-wget -N http://abacas.sourceforge.net/Manual.html
+wget -q -N http://abacas.sourceforge.net/Manual.html
 sed -i -e 's?index.html">Home?http://abacas.sourceforge.net/&;?' \
        -e 
's?documentation.html">Documentation?http://abacas.sourceforge.net/&;?' \
+       -e 's/perl abacas\.pl/abacas/' \
+       -e 's/abacas\.pl/abacas/' \
        Manual.html
-wget -N http://abacas.sourceforge.net/style.css
+wget -q -N http://abacas.sourceforge.net/style.css
 cd ..
 
 GZIP="--best --no-name" tar -czf "$PKG"_"$VERSION".orig.tar.gz 
"$PKG"-"$VERSION"

Modified: trunk/packages/abacas/trunk/debian/rules
===================================================================
--- trunk/packages/abacas/trunk/debian/rules    2011-03-21 08:52:22 UTC (rev 
6333)
+++ trunk/packages/abacas/trunk/debian/rules    2011-03-21 09:11:41 UTC (rev 
6334)
@@ -9,3 +9,5 @@
 %:
        dh $@
 
+get-orig-source:
+       . debian/get-orig-source


_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-med-commit

Reply via email to