[SCM] ViennaCL packaging branch, master, updated. debian/1.1.1-1-11-g9aa8748

Michael Wild themiwi at users.sourceforge.net
Mon Jul 4 20:11:10 UTC 2011


The following commit has been merged in the master branch:
commit 9aa8748ff5887c2fd647b8bd6cf1bac906714f28
Author: Michael Wild <themiwi at users.sourceforge.net>
Date:   Mon Jul 4 18:45:33 2011 +0200

    Fix changelog extraction
    
    Signed-off-by: Michael Wild <themiwi at users.sourceforge.net>

diff --git a/debian/rules b/debian/rules
index dc02f59..d3f1e6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,9 +25,9 @@ override_dh_install:
 	pdftotext -f 47 -l 50 -nopgbrk -r 150                                 \
 	  -x 130 -y 160 -W 980 -H 1440 -enc ASCII7                            \
 	  doc/viennacl.pdf - |                                                \
-	  sed -e 's/^Change Logs/= &\\n/'                                     \
-	      -e '/^Version [[:digit:]]\\.[[:digit:]]\\.x/d'                  \
-	      -e 's/^Version [[:digit:]]\\./== &/'                            \
-	      -e '/^\\* / i \\ ' |                                            \
+	  sed -e 's/^Change Logs/= &\n/'                                      \
+	      -e '/^Version [0-9]\.[0-9]\.x/d'                                \
+	      -e 's/^Version [0-9]\./== &/'                                   \
+	      -e '/^\* / i \ ' |                                              \
 	  asciidoc -f /etc/asciidoc/text.conf - |                             \
 	  lynx -dump --stdin > debian/tmp/changelog

-- 
ViennaCL packaging



More information about the debian-science-commits mailing list