blob: aa1055e1ca58c6b7f243d07a1a7ea4fb5da37867 (
plain)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
$NetBSD: patch-aa,v 1.3 2001/12/24 14:10:55 abs Exp $
--- ../doc/man/Makefile.orig Mon Nov 29 19:22:07 1999
+++ ../doc/man/Makefile
@@ -52,12 +52,12 @@
# Target directory for the manual directory tree. Eg., may be used to
# specify the path of an NFS-mounted directory for common files.
#
-DESTDIR=
+DESTDIR= ${PREFIX}
#
# Default location for manual section directories.
#
-DESTMAN= /usr/share/man
+DESTMAN= /man
#
# Install manuals in ${MANDIR}N. For systems that generate catable manual
@@ -228,14 +228,12 @@
#
# User command manual entries
#
-CMD_BASE = dig host dnsquery dnskeygen
+CMD_BASE = dig dnsquery dnskeygen
CMD_SRC_EXT = 1
CMD_SRC = dig.${CMD_SRC_EXT} \
- host.${CMD_SRC_EXT} \
dnsquery.${CMD_SRC_EXT} \
dnskeygen.${CMD_SRC_EXT}
CMD_OUT = dig.${CMD_OUT_EXT} \
- host.${CMD_OUT_EXT} \
dnsquery.${CMD_OUT_EXT} \
dnskeygen.${CMD_OUT_EXT}
@@ -303,7 +301,8 @@
#
# File format manual entries
#
-FORMAT_BASE = resolver irs.conf named.conf
+FORMAT_MAIN_BASE = named.conf
+FORMAT_BASE = resolver irs.conf
FORMAT_SRC_EXT = 5
FORMAT_SRC = resolver.${FORMAT_SRC_EXT} \
irs.conf.${FORMAT_SRC_EXT} \
@@ -393,6 +392,10 @@
$${f}.${LIB_NETWORK_OUT_EXT} \
${DESTDIR}${DESTMAN}/${MANDIR}${LIB_NETWORK_EXT_DIR}/$${f}.${CATEXT}; \
done
+ @set -x; N=${FORMAT_EXT}; for f in ${FORMAT_MAIN_BASE}; do \
+ ${INSTALL} -c -m 444 ${MAN_OWNER} ${MAN_GROUP} $${f}.${FORMAT_OUT_EXT} \
+ ${DESTDIR}${DESTMAN}/${MANDIR}${FORMAT_EXT_DIR}/$${f}.${CATEXT}; \
+ done
@set -x; N=${FORMAT_EXT}; for f in ${FORMAT_BASE}; do \
${INSTALL} -c -m 444 ${MAN_OWNER} ${MAN_GROUP} \
$${f}.${FORMAT_OUT_EXT} \
@@ -409,7 +412,7 @@
${DESTDIR}${DESTMAN}/${MANDIR}${LIB_NETWORK_EXT_DIR} \
${DESTDIR}${DESTMAN}/${MANDIR}${FORMAT_EXT_DIR} \
${DESTDIR}${DESTMAN}/${MANDIR}${DESC_EXT_DIR}:
- mkdir $@
+ mkdir -p $@
links: FRC
@set -ex; ln -s SRC/*.[0-9] .
|