[project @ 2001-04-03 13:18:34 by sewardj]
[ghc-hetmet.git] / ghc / mk / post-install-script
diff --git a/ghc/mk/post-install-script b/ghc/mk/post-install-script
new file mode 100644 (file)
index 0000000..02e1423
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# $1 is $(platform)
+# $2 is root of final installation tree
+# $3 is $(package)-$(version) ie ghc-4.11 
+
+###echo POST_INSTALL_SCRIPT $1 $2 $3
+
+bin/$1/pkgconf install "$1" "" "YES" "" "$2/lib/$3" "$2/lib/$3" "$2/lib/$3" "" "$2/lib/$3/include" "" > $2/lib/$3/package.conf