summaryrefslogtreecommitdiff
path: root/p/haskell-devscripts/debian
diff options
context:
space:
mode:
authorSven Bartscher <sven.bartscher@weltraumschlangen.de>2014-05-29 02:29:02 +0400
committerSven Bartscher <sven.bartscher@weltraumschlangen.de>2014-05-29 02:29:02 +0400
commit109c913fbd62e2ec9ab17d36870a793952f6558a (patch)
tree36628ef89390abf40f3fd10c1c6053edea6b03df /p/haskell-devscripts/debian
parent3e3fe401e5b1cd9fa85c5d615986c3a66f346b5a (diff)
downloadDHG_packages-109c913fbd62e2ec9ab17d36870a793952f6558a.tar.gz
haskell-devscripts: 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.
Diffstat (limited to 'p/haskell-devscripts/debian')
-rwxr-xr-xp/haskell-devscripts/debian/dh_haskell_blurbs2
-rwxr-xr-xp/haskell-devscripts/debian/dh_haskell_depends1
2 files changed, 2 insertions, 1 deletions
diff --git a/p/haskell-devscripts/debian/dh_haskell_blurbs b/p/haskell-devscripts/debian/dh_haskell_blurbs
index 4f3749a45..3e0ab50ed 100755
--- a/p/haskell-devscripts/debian/dh_haskell_blurbs
+++ b/p/haskell-devscripts/debian/dh_haskell_blurbs
@@ -55,5 +55,7 @@ haskell:ShortDescription=$shortDescription
haskell:LongDescription=$longDescription
__END__
+ echo "haskell:ghc-version=`ghc --numeric-version`" >> $sfile.tmp
+
mv $sfile.tmp $sfile
done
diff --git a/p/haskell-devscripts/debian/dh_haskell_depends b/p/haskell-devscripts/debian/dh_haskell_depends
index 853ce7233..f9f015fd2 100755
--- a/p/haskell-devscripts/debian/dh_haskell_depends
+++ b/p/haskell-devscripts/debian/dh_haskell_depends
@@ -148,7 +148,6 @@ for pkg in `dh_listpackages $args`; do
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