blob: 9a7b5f4fe852a95fe93f4a16f4dd3b5852560708 (
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
36
37
38
39
40
41
|
--- sys/unix/Makefile.doc.orig Sun Jun 16 03:02:10 2002
+++ sys/unix/Makefile.doc Sun Jun 16 03:15:50 2002
@@ -38,15 +38,15 @@
GAME = nethack
-MANDIR = /usr/local/man/man6
+MANDIR = ${PREFIX}/man/man
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 = ${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
# manual installation for most SYSV-style systems
# GAMEMANCREATE = nroff -man nethack.6 >
# LEVMANCREATE = nroff -man lev_comp.6 >
@@ -55,11 +55,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)$(MANEXT)/lev_comp.$(MANEXT)
+ -$(DGNMANCREATE) $(MANDIR)$(MANEXT)/dgn_comp.$(MANEXT)
+ -$(RCVRMANCREATE) $(MANDIR)$(MANEXT)/recover.$(MANEXT)
+ -$(DLBMANCREATE) $(MANDIR)$(MANEXT)/dlb.$(MANEXT)
# manual creation for distribution
DISTRIB = Guidebook.txt nethack.txt lev_comp.txt dgn_comp.txt recover.txt dlb.txt
|