1- #------------------------------------------------------------------------------
2- # NetHack 5.0 directories $NHDT-Date: 1668359835 2022/11/13 17:17:15 $ $NHDT-Branch: NetHack-5.0 $
1+ #==============================================================================
2+ # NetHack 5.0 directories $NHDT-Date: 1791245095 2026/10/06 00:04:55 $ $NHDT-Branch: keni-headercleanup $ $NHDT-Revision: 1.1 $
33
44ifndef WANT_SHARED_INSTALL
55PREFIX=$(abspath $(NHSROOT))
66SOURCEINSTALL=1
77
8- # -----------------------------------------
8+ # =========================================
99# This is for the Linux source tree install
10- # -----------------------------------------
10+ # =========================================
1111ifeq "$(WHICH_OS)" "Linux"
1212
1313HACKDIR ?=$(PREFIX)/playground
@@ -20,9 +20,9 @@ VARDIRPERM ?= 0700
2020
2121else # macOS
2222#
23- # -----------------------------------------
23+ # =========================================
2424# This is for the macOS source tree install
25- # -----------------------------------------
25+ # =========================================
2626#
2727# The macOS setup sets things up two different
2828# ways, depending on whether an explicit
@@ -57,9 +57,9 @@ endif # not WANT_SHARED_INSTALL
5757ifneq "$(SOURCEINSTALL)" "1"
5858ifdef WANT_SHARED_INSTALL
5959ifeq "$(WHICH_OS)" "Linux"
60- # -----------------------------------------
60+ # =========================================
6161# This is for the Linux system-wide install
62- # -----------------------------------------
62+ # =========================================
6363
6464PREFIX ?=$(wildcard ~)/nh/install
6565HACKDIR ?=$(PREFIX)/games/lib/nethackdir
@@ -72,14 +72,14 @@ VARDIRPERM ?= 0755
7272VARFILEPERM ?= 0600
7373GAMEPERM ?= 0755
7474
75- # ----------------------------------
75+ # ==================================
7676# End of Linux system-wide install
77- # ----------------------------------
77+ # ==================================
7878
7979else # macOS
80- # ------------------------------------------------
80+ # ================================================
8181# This is for the macOS system-wide shared install
82- # ------------------------------------------------
82+ # ================================================
8383
8484# if $GAMEUID is root, we install into roughly
8585# proper Mac locations, otherwise we install
@@ -111,13 +111,13 @@ VARDIR ?=$(HACKDIR)
111111VARFILEPERM ?= 0664
112112VARDIRPERM ?= 0775
113113
114- # ---------------------------------------
114+ # =======================================
115115# End of macOS system-wide shared install
116- # --------------------------------------
116+ # ======================================
117117endif # WHICH_OS?
118118endif # WANT_SHARED_INSTALL
119119endif # SOURCEINSTALL != 1
120120
121121#end of dirs-perms
122- #--------------------------------------
122+ #======================================
123123
0 commit comments