[Pkg-haskell-commits] r839 - /packages/haskell-devscripts/trunk/dh_haskell_buildinst

arjan at users.alioth.debian.org arjan at users.alioth.debian.org
Sun Dec 30 18:10:24 UTC 2007


Author: arjan
Date: Sun Dec 30 18:10:24 2007
New Revision: 839

URL: http://svn.debian.org/wsvn/pkg-haskell/?sc=1&rev=839
Log:
[project @ Fix dh_haskell_buildinst to build libghc6-*-prof again.]

Original author: Arjan Oosting <arjanoosting at home.nl>
Date: 2006-11-10 21:03:28+00:00

Modified:
    packages/haskell-devscripts/trunk/dh_haskell_buildinst

Modified: packages/haskell-devscripts/trunk/dh_haskell_buildinst
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/haskell-devscripts/trunk/dh_haskell_buildinst?rev=839&op=diff
==============================================================================
--- packages/haskell-devscripts/trunk/dh_haskell_buildinst (original)
+++ packages/haskell-devscripts/trunk/dh_haskell_buildinst Sun Dec 30 18:10:24 2007
@@ -20,6 +20,12 @@
 done
 
 for p in `dh_listpackages "$OPTIONS"` ; do
-    dh_haskell_build --package=$p $FILTERED_OPTIONS
-    dh_haskell_install  --package=$p $FILTERED_OPTIONS
+    profiled=`echo $p | sed "s/\(libghc6-.*\)-dev/\1-prof/"`
+    if [ $p = $profiled ] ; then
+	dh_haskell_build --package=$p $FILTERED_OPTIONS
+	dh_haskell_install --package=$p $FILTERED_OPTIONS
+    else
+	dh_haskell_build --package=$p --package=$profiled $FILTERED_OPTIONS
+	dh_haskell_install --package=$p --package=$profiled $FILTERED_OPTIONS
+    fi
 done




More information about the Pkg-haskell-commits mailing list