more hints file readiness in Makefiles

This commit is contained in:
nhmall
2026-05-16 10:59:48 -04:00
parent 5199921c05
commit 4434b14884
3 changed files with 13 additions and 5 deletions
+3
View File
@@ -96,12 +96,14 @@ $(MAKEDEFS) : ../util/makedefs.c ../include/config.h ../src/mdlib.c \
GAME = nethack
MANDIR ?= /usr/man/man6
MANEXT = 6
MANDIRPREP ?= true
# manual installation for most BSD-style systems
GAMEMANCREATE = cat nethack.6 | $(NHGREP) >
RCVRMANCREATE = cat recover.6 | $(NHGREP) >
DLBMANCREATE = cat dlb.6 | $(NHGREP) >
MDMANCREATE = cat makedefs.6 | $(NHGREP) >
# manual installation for most SYSV-style systems
# GAMEMANCREATE = cat nethack.6 | $(NHGREP) | $(NROFF) -man - >
# RCVRMANCREATE = cat recover.6 | $(NHGREP) | $(NROFF) -man - >
@@ -109,6 +111,7 @@ MDMANCREATE = cat makedefs.6 | $(NHGREP) >
# MDMANCREATE = cat makedefs.6 | $(NHGREP) | $(NROFF) -man - >
manpages: $(PREMANPAGES)
-$(MANDIRPREP)
-$(GAMEMANCREATE) $(MANDIR)/$(GAME).$(MANEXT)
-$(RCVRMANCREATE) $(MANDIR)/recover.$(MANEXT)
-$(DLBMANCREATE) $(MANDIR)/dlb.$(MANEXT)