2 # NetHack 3.6 setup.sh $NHDT-Date: 1432512789 2015/05/25 00:13:09 $ $NHDT-Branch: master $:$NHDT-Revision: 1.14 $
3 # Copyright (c) Kenneth Lorber, Kensington, Maryland, 2007.
4 # NetHack may be freely redistributed. See license for details.
6 # Build and install makefiles.
8 # Argument is the hints file to use (or no argument for traditional setup).
12 # sh setup.sh hints/macosx10.5 (from sys/unix)
14 # sh setup.sh sys/unix/hints/macosx10.5 (from top)
16 # Were we started from the top level? Cope.
18 if [ -f sys
/unix
/Makefile.top
]; then cd sys
/unix
; prefix
=..
/..
; fi
29 /bin
/sh .
/mkmkfile.sh Makefile.top TOP ..
/..
/Makefile
$hints $hfile
30 /bin
/sh .
/mkmkfile.sh Makefile.dat DAT ..
/..
/dat
/Makefile
$hints $hfile
31 /bin
/sh .
/mkmkfile.sh Makefile.doc DOC ..
/..
/doc
/Makefile
$hints $hfile
32 /bin
/sh .
/mkmkfile.sh Makefile.src SRC ..
/..
/src
/Makefile
$hints $hfile
33 /bin
/sh .
/mkmkfile.sh Makefile.utl UTL ..
/..
/util
/Makefile
$hints $hfile