--- sys/unix/Makefile.doc.orig Thu Apr 6 02:59:04 2006 +++ sys/unix/Makefile.doc Thu May 25 01:03:44 2006 @@ -41,15 +41,15 @@ GAME = vulture-nethack -MANDIR = /usr/man/man6 +MANDIR = ${PREFIX}/man6 MANEXT = 6 # manual installation for most BSD-style systems -GAMEMANCREATE = cp nethack.6 -LEVMANCREATE = cp lev_comp.6 -DGNMANCREATE = cp dgn_comp.6 -RCVRMANCREATE = cp recover.6 -DLBMANCREATE = cp dlb.6 +GAMEMANCREATE = ${BSD_INSTALL_MAN} nethack.6 +#LEVMANCREATE = cp lev_comp.6 +#DGNMANCREATE = cp dgn_comp.6 +#RCVRMANCREATE = cp recover.6 +#DLBMANCREATE = cp dlb.6 # manual installation for most SYSV-style systems # GAMEMANCREATE = nroff -man nethack.6 > # LEVMANCREATE = nroff -man lev_comp.6 > @@ -58,11 +58,11 @@ # DLBMANCREATE = nroff -man dlb.6 > manpages: - -$(GAMEMANCREATE) $(MANDIR)/$(GAME).$(MANEXT) - -$(LEVMANCREATE) $(MANDIR)/lev_comp.$(MANEXT) - -$(DGNMANCREATE) $(MANDIR)/dgn_comp.$(MANEXT) - -$(RCVRMANCREATE) $(MANDIR)/recover.$(MANEXT) - -$(DLBMANCREATE) $(MANDIR)/dlb.$(MANEXT) + -$(GAMEMANCREATE) $(MANDIR)$(MANEXT)/$(GAME).$(MANEXT) +# -$(LEVMANCREATE) $(MANDIR)/lev_comp.$(MANEXT) +# -$(DGNMANCREATE) $(MANDIR)/dgn_comp.$(MANEXT) +# -$(RCVRMANCREATE) $(MANDIR)/recover.$(MANEXT) +# -$(DLBMANCREATE) $(MANDIR)/dlb.$(MANEXT) # manual creation for distribution DISTRIB = Guidebook.txt nethack.txt lev_comp.txt dgn_comp.txt recover.txt dlb.txt