[project @ 2001-04-24 10:05:59 by simonmar]
authorsimonmar <unknown>
Tue, 24 Apr 2001 10:05:59 +0000 (10:05 +0000)
committersimonmar <unknown>
Tue, 24 Apr 2001 10:05:59 +0000 (10:05 +0000)
Fixes for the post-isntall-script.  Still to do: get LibsReadline right.

ghc/mk/post-install-script

index 02e1423..2790dce 100644 (file)
@@ -1,9 +1,9 @@
 #!/bin/sh
 
 # $1 is $(platform)
-# $2 is root of final installation tree
-# $3 is $(package)-$(version) ie ghc-4.11 
+# $2 is $(libdir)
 
-###echo POST_INSTALL_SCRIPT $1 $2 $3
+# This script is run just after installing a binary distribution, to
+# generate a correct package.conf for the new installation.
 
-bin/$1/pkgconf install "$1" "" "YES" "" "$2/lib/$3" "$2/lib/$3" "$2/lib/$3" "" "$2/lib/$3/include" "" > $2/lib/$3/package.conf
+bin/$1/pkgconf install "$1" "" "NO" "???readline???" "$2" "" "" "" "" "" > $2/package.conf