From: Andre P. <at...@us...> - 2005-07-30 08:24:59
|
Update of /cvsroot/hoc/hoc/installer-package/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10363/installer-package/scripts Added Files: postinstall postupgrade Log Message: Removed symlink to Foundation dir in AppKit dir Correctly clean all autogenerated files for Foundation/ and AppKit/ dirs Split install target into install and install-files targets, in preparation for the newly-added 'package' target (that will make use of the install-files target) Added PackageMaker package description file, used to generate a Mac OS X .pkg (Not quite complete enough for distribution yet, but seems to work OK at least.) Added 'package' target to main Makefile, to prepare a Mac OS X binary .pkg. Updated LICENSE file since it's 2005 :) --- NEW FILE: postinstall --- #!/bin/sh GHC_PKG=/usr/local/bin/ghc-pkg GHC_LIB_PATH=`/usr/local/bin/ghc --print-libdir` ranlib "$GHC_LIB_PATH"/{AppKit,Foundation,HOC}/*.a $GHC_PKG update "$GHC_LIB_PATH"/HOC/HOC.conf $GHC_PKG update "$GHC_LIB_PATH"/Foundation/Foundation.conf $GHC_PKG update "$GHC_LIB_PATH"/AppKit/AppKit.conf --- NEW FILE: postupgrade --- #!/bin/sh GHC_PKG=ghc-pkg GHC_LIB_PATH=`ghc --print-libdir` ranlib "$GHC_LIB_PATH"/{AppKit,Foundation,HOC}/*.a $GHC_PKG update "$GHC_LIB_PATH"/HOC/HOC.conf $GHC_PKG update "$GHC_LIB_PATH"/Foundation/Foundation.conf $GHC_PKG update "$GHC_LIB_PATH"/AppKit/AppKit.conf |