more hints file readiness in Makefiles
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user