Files
nethack/sys/unix/NewInstall.unx
keni 59e64a1d40 First pass at a hints-based build system to augment (not replace) the existing
build system.

Anyone who wants to do a build from sys/unix and doesn't want to figure this
out just needs to do:
	sh setup.sh hints/unix
instead of:
	sh setup.sh
and then continue on as usual.

New files:
sys/unix/NewInstall.unx - the new directions
sys/unix/hints/* - the hints files.  There will be more later.
sys/unix/mkmkfile.sh - helper for setup.sh

Summary of changes:
see NewInstall.unx for info on the new build system
introduction of various preprocessor symbols to turn options off that
 are defaulted on historically
comment out nethackrc (and similar) entries that still use the old symbol
 syntax.
commenting out of Makefile.* lines that now come from hints/unix
GAMEDIR is replaced with HACKDIR so the Makefiles and the C source agree.
  Note that I have NOT changed the docs and/or Makefiles for be, msdos, os2,
  vms, or winnt.  If port maintainers don't then I will, but I can't test
  those ports.
nethack.sh now handles the font path automatically
2007-12-13 20:17:11 +00:00

39 lines
1.4 KiB
Plaintext

Instructions for installing NetHack 3.5
using the new hints system
=======================================
For the moment, we are maintaining two ways to configure NetHack. The
traditional system, in which Makefiles and includes are edited, and the
new hints system which should be easier for most users to configure.
If you are using the traditional configuration system, see Install.unx.
1. Look in the sys/unix/hints directory for a file that matches your system.
If there isn't one, build one from the other files; if you need more help
see the traditional instructions (in Install.unx) for hints. When you
get it right please submit it to us.
2. Check the hints file for anything that may need to be changed for your
installation. Most of the time little or nothing will need to be changed.
3. Configure and build:
"$Top" is the top level source directory (the one with README in it).
cd $Top/sys/unix
sh setup.sh hints/NAME_OF_HINTS_FILE
cd ../..
make all
If the build fails, remove all the generated files before retrying the
build with: cd $Top; make spotless
4. Install:
Depending on your configuration, this step may or may not need to be done
as root; check the hints file.
cd $Top
make install
5. If it all worked, you're done. If something went wrong, see Install.unx
for information about the settings the hints file tried to automate.