kernel - SWAP CACHE part 22/many - Fix counter overflow introduced in part 21
[dragonfly.git] / usr.sbin / named / Makefile.maninc
blobfde8ecf833d6be43372e5a24610247f16f7690e7
1 # From: Id: Makefile.maninc,v 8.1 1994/12/15 06:23:43 vixie Exp
2 # $FreeBSD: src/usr.sbin/named/Makefile.maninc,v 1.5 1999/08/28 01:17:22 peter Exp $
3 # $DragonFly: src/usr.sbin/named/Makefile.maninc,v 1.2 2003/06/17 04:29:57 dillon Exp $
5 # (the BIND kit's man page Makefile has gotten bad and crazy over the years.
6 #  this file has to be included AFTER bsd.prog.mk (which includes bsd.man.mk))
7 CMD_EXT=        1
8 SYSCALL_EXT=    2
9 BSD_SYSCALL_EXT=2
10 LIB_C_EXT=      3
11 LIB_NETWORK_EXT=3
12 FORMAT_EXT=     5
13 DESC_EXT=       7
14 SYS_OPS_EXT=    8
16 EXT_SED_CMD =   INDOT_U=`echo "${INDOT}"|tr "[a-z]" "[A-Z]"`; \
17                 export INDOT_U; \
18                 XFER_INDOT_U=`echo "${XFER_INDOT}"|tr "[a-z]" "[A-Z]"`; \
19                 export XFER_INDOT_U; \
20                 CMD_EXT_U=`echo "${CMD_EXT}"|tr "[a-z]" "[A-Z]"`; \
21                 export CMD_EXT_U; \
22                 SYS_OPS_EXT_U=`echo "${SYS_OPS_EXT}"|tr "[a-z]" "[A-Z]"`; \
23                 export SYS_OPS_EXT_U; \
24                 LIB_NETWORK_EXT_U=`echo "${LIB_NETWORK_EXT}"|tr "[a-z]" "[A-Z]"`; \
25                 export LIB_NETWORK_EXT_U; \
26                 FORMAT_EXT_U=`echo "${FORMAT_EXT}"|tr "[a-z]" "[A-Z]"`; \
27                 export FORMAT_EXT_U; \
28                 DESC_EXT_U=`echo "${DESC_EXT}"|tr "[a-z]" "[A-Z]"`; \
29                 export DESC_EXT_U; \
30                 SYSCALL_EXT_U=`echo "${SYSCALL_EXT}"|tr "[a-z]" "[A-Z]"`; \
31                 export SYSCALL_EXT_U; \
32                 BSD_SYSCALL_EXT_U=`echo "${BSD_SYSCALL_EXT}"|tr "[a-z]" "[A-Z]"`; \
33                 export BSD_SYSCALL_EXT_U; \
34                 LIB_C_EXT_U=`echo "${LIB_C_EXT}"|tr "[a-z]" "[A-Z]"`; \
35                 export LIB_C_EXT_U; \
36                 sed -e "s/@INDOT@/${INDOT}/g" \
37                 -e "s/@INDOT_U@/$${INDOT_U}/g" \
38                 -e "s/@XFER_INDOT@/${XFER_INDOT}/g" \
39                 -e "s/@XFER_INDOT_U@/$${XFER_INDOT_U}/g" \
40                 -e "s/@CMD_EXT@/${CMD_EXT}/g" \
41                 -e "s/@CMD_EXT_U@/$${CMD_EXT_U}/g" \
42                 -e "s/@LIB_NETWORK_EXT@/${LIB_NETWORK_EXT}/g" \
43                 -e "s/@LIB_NETWORK_EXT_U@/$${LIB_NETWORK_EXT_U}/g" \
44                 -e "s/@FORMAT_EXT@/${FORMAT_EXT}/g" \
45                 -e "s/@FORMAT_EXT_U@/$${FORMAT_EXT_U}/g" \
46                 -e "s/@DESC_EXT@/${DESC_EXT}/g" \
47                 -e "s/@DESC_EXT_U@/$${DESC_EXT_U}/g" \
48                 -e "s/@SYS_OPS_EXT@/${SYS_OPS_EXT}/g" \
49                 -e "s/@SYS_OPS_EXT_U@/$${SYS_OPS_EXT_U}/g" \
50                 -e "s/@SYSCALL_EXT@/${SYSCALL_EXT}/g" \
51                 -e "s/@SYSCALL_EXT_U@/$${SYSCALL_EXT_U}/g" \
52                 -e "s/@BSD_SYSCALL_EXT@/${BSD_SYSCALL_EXT}/g" \
53                 -e "s/@BSD_SYSCALL_EXT_U@/$${BSD_SYSCALL_EXT_U}/g" \
54                 -e "s/@LIB_C_EXT@/${LIB_C_EXT}/g" \
55                 -e "s/@LIB_C_EXT_U@/$${LIB_C_EXT_U}/g" \
56                 -e "s@/etc/named\.conf@/etc/namedb/named.conf@g"
58 MANFILTER=      ${EXT_SED_CMD}