3 # GHC framework post-install script
4 # * Add links to all executables into the standard bin/ directory
5 # * Add link to the man page into the standard man/man1/ directory
6 # * Add link to the HTML docs into the standard share/doc/ directory
11 if [ ${INSTALL_BASE} = / ]; then
15 INSTALL_BIN=${INSTALL_BASE}/bin
16 mkdir -p ${INSTALL_BIN}
17 ln -sf ${INSTALL_DEST}/GHC.framework/Versions/Current/usr/bin/* ${INSTALL_BIN}/
19 INSTALL_MAN1=${INSTALL_BASE}/share/man/man1
20 INSTALL_HTML=${INSTALL_BASE}/share/doc
21 mkdir -p ${INSTALL_MAN1}
22 ln -sf ${INSTALL_DEST}/GHC.framework/Versions/Current/usr/share/man/man1/*\
24 ln -sf ${INSTALL_DEST}/GHC.framework/Versions/Current/usr/share/doc/ghc\