$OpenBSD: patch-sys_unix_Makefile_doc,v 1.1.1.1 2001/07/04 11:14:54 espie Exp $ --- sys/unix/Makefile.doc.orig Wed May 2 01:07:43 2001 +++ sys/unix/Makefile.doc Tue Jul 3 19:02:04 2001 @@ -54,15 +54,15 @@ Guidebook.dvi: Guidebook.tex GAME = slashem #GAME = nethack -MANDIR = /games/slash/doc +MANDIR = ${PREFIX}/man/man6 MANEXT = 1n # manual installation for most BSD-style systems -GAMEMANCREATE = cp $(GAME).6 -LEVMANCREATE = cp lev_comp.6 -DGNMANCREATE = cp dgn_comp.6 -RCVRMANCREATE = cp recover.6 -DLBMANCREATE = cp dlb.6 +GAMEMANCREATE = ${INSTALL_MAN} $(GAME).6 +LEVMANCREATE = ${INSTALL_MAN} lev_comp.6 +DGNMANCREATE = ${INSTALL_MAN} dgn_comp.6 +RCVRMANCREATE = ${INSTALL_MAN} recover.6 +DLBMANCREATE = ${INSTALL_MAN} dlb.6 # manual installation for most SYSV-style systems # and for man files readable in less (eg dos DJGPP+GNU) # GAMEMANCREATE = groff -Wall -mtty-char -Tascii -man $(GAME).6 >