summaryrefslogtreecommitdiff
path: root/games/unnethack/files/patch-makefile.doc
blob: 525d27847fee48f3d0d10d4da1790716ea6adc1c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
$FreeBSD$

--- sys/unix/Makefile.doc.orig	Sat Dec 30 05:08:31 2006
+++ sys/unix/Makefile.doc	Fri Aug 17 23:19:06 2007
@@ -53,16 +53,16 @@
 #	tbl tmac.n Guidebook.mn | groff -Wall -Tdvi > Guidebook.dvi
 
 GAME    = slashem
-MANDIR	= /usr/man/man6
+MANDIR	= ${MANPREFIX}/man/man6
 MANEXT	= 6
 FRMANDIR= $(MANDIR:man6=fr/man6)
 
 # 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 = ${BSD_INSTALL_MAN} $(GAME).6
+LEVMANCREATE = ${BSD_INSTALL_MAN} lev_comp.6
+DGNMANCREATE = ${BSD_INSTALL_MAN} dgn_comp.6
+RCVRMANCREATE = ${BSD_INSTALL_MAN} recover.6
+DLBMANCREATE = ${BSD_INSTALL_MAN} dlb.6
 FRGAMEMANCREATE = cp fr/$(GAME).6
 # manual installation for most SYSV-style systems
 # and for man files readable in less (eg dos DJGPP+GNU)
@@ -79,7 +79,6 @@
 	-$(DGNMANCREATE) $(MANDIR)/dgn_comp.$(MANEXT)
 	-$(RCVRMANCREATE) $(MANDIR)/recover.$(MANEXT)
 	-$(DLBMANCREATE) $(MANDIR)/dlb.$(MANEXT)
-	-$(FRGAMEMANCREATE) $(FRMANDIR)/$(GAME).$(MANEXT)
 
 # manual creation for distribution
 DISTRIB = Guidebook.txt $(GAME).txt lev_comp.txt dgn_comp.txt recover.txt dlb.txt