update file headers add "#-PRE" and "#-POST" keywords (no default) so hints file can wrap Makefile.* add make var with name of makefile (e.g. MAKEFILE_TOP) so hints file can be conditional on the file add skeletel Mac Qt packaging target add missing aux file generation for Mac Term packaging
25 lines
795 B
Bash
25 lines
795 B
Bash
#!/bin/sh
|
|
# NetHack 3.5 setup.sh $Date$ $Revision$
|
|
# Copyright (c) Kenneth Lorber, Kensington, Maryland, 2007.
|
|
# NetHack may be freely redistributed. See license for details.
|
|
#
|
|
# Build and install makefiles.
|
|
#
|
|
# Argument is the hints file to use (or no argument for traditional setup).
|
|
|
|
# Were we started from the top level? Cope.
|
|
if [ -f sys/unix/Makefile.top ]; then cd sys/unix; fi
|
|
|
|
case "x$1" in
|
|
x) hints=/dev/null
|
|
;;
|
|
*) hints=$1
|
|
;;
|
|
esac
|
|
|
|
/bin/sh ./mkmkfile.sh Makefile.top TOP ../../Makefile $hints
|
|
/bin/sh ./mkmkfile.sh Makefile.dat DAT ../../dat/Makefile $hints
|
|
/bin/sh ./mkmkfile.sh Makefile.doc DOC ../../doc/Makefile $hints
|
|
/bin/sh ./mkmkfile.sh Makefile.src SRC ../../src/Makefile $hints
|
|
/bin/sh ./mkmkfile.sh Makefile.utl UTL ../../util/Makefile $hints
|