[Pkg-haskell-commits] darcs: haskell-devscripts: move haskell-version generation to dh_haskell_blurbs

Sven Bartscher sven.bartscher at weltraumschlangen.de
Wed May 28 22:39:35 UTC 2014


Wed May 28 22:29:02 UTC 2014  Sven Bartscher <sven.bartscher at weltraumschlangen.de>
  * move haskell-version generation to dh_haskell_blurbs
  This needs to be done because only dh_haskell_blurbs is called for all
  packages and it wouldn't make much sense to make a new dh_file for this task.

    M ./dh_haskell_blurbs +2
    M ./dh_haskell_depends -1

Wed May 28 22:29:02 UTC 2014  Sven Bartscher <sven.bartscher at weltraumschlangen.de>
  * move haskell-version generation to dh_haskell_blurbs
  This needs to be done because only dh_haskell_blurbs is called for all
  packages and it wouldn't make much sense to make a new dh_file for this task.
diff -rN -u old-haskell-devscripts/dh_haskell_blurbs new-haskell-devscripts/dh_haskell_blurbs
--- old-haskell-devscripts/dh_haskell_blurbs	2014-05-28 22:39:35.163988087 +0000
+++ new-haskell-devscripts/dh_haskell_blurbs	2014-05-28 22:39:35.171988086 +0000
@@ -55,5 +55,7 @@
 haskell:LongDescription=$longDescription
 __END__
 
+    echo "haskell:ghc-version=`ghc --numeric-version`" >> $sfile.tmp
+
     mv $sfile.tmp $sfile
 done
diff -rN -u old-haskell-devscripts/dh_haskell_depends new-haskell-devscripts/dh_haskell_depends
--- old-haskell-devscripts/dh_haskell_depends	2014-05-28 22:39:35.163988087 +0000
+++ new-haskell-devscripts/dh_haskell_depends	2014-05-28 22:39:35.171988086 +0000
@@ -148,7 +148,6 @@
     esac
 
     echo "haskell:Extra-Depends=`cat debian/extra-depends`" >> $sfile.tmp
-    echo "haskell:ghc-version=`ghc --numeric-version`" >> $sfile.tmp
 
     mv $sfile.tmp $sfile
 done




More information about the Pkg-haskell-commits mailing list