If SHELLDIR is null, don't install nethack.sh. Also a tid in Porting and add NHSROOT to the Makefiles which gives a path to the top of the tree (so e.g. you can always find makedefs from a rule in a hints file).