MAN[1-9] -> MAN.

This commit is contained in:
Ruslan Ermilov 2001-03-27 17:27:19 +00:00
parent 8efc417089
commit 4a558355e5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=74870
63 changed files with 119 additions and 139 deletions

View File

@ -8,6 +8,6 @@ SRCS= alias.c alias_cuseeme.c alias_db.c alias_ftp.c alias_irc.c \
alias_nbt.c alias_pptp.c alias_proxy.c alias_smedia.c \
alias_util.c
INCS= alias.h
MAN3= libalias.3
MAN= libalias.3
.include <bsd.lib.mk>

View File

@ -17,8 +17,8 @@ NOASM= __semctl.o break.o exit.o ftruncate.o getdomainname.o getlogin.o \
PSEUDO= _getlogin.o _exit.o
.if ${LIB} == "c"
MAN2+= i386_get_ioperm.2 i386_get_ldt.2 i386_vm86.2
MAN3+= i386_set_watch.3
MAN+= i386_get_ioperm.2 i386_get_ldt.2 i386_vm86.2
MAN+= i386_set_watch.3
MLINKS+=i386_get_ioperm.2 i386_set_ioperm.2
MLINKS+=i386_get_ldt.2 i386_set_ldt.2

View File

@ -8,8 +8,8 @@ SRCS+= creat.c gethostid.c getwd.c killpg.c sethostid.c setpgrp.c \
setrgid.c setruid.c sigcompat.c
.if ${LIB} == "c"
MAN2+= creat.2 killpg.2 sigpause.2 sigsetmask.2 sigvec.2
MAN3+= gethostid.3 setruid.3
MAN+= creat.2 killpg.2 sigpause.2 sigsetmask.2 sigvec.2
MAN+= gethostid.3 setruid.3
MLINKS+=gethostid.3 sethostid.3
MLINKS+=setruid.3 setrgid.3

View File

@ -4,7 +4,7 @@
.PATH: ${.CURDIR}/../libc/db/man
.if ${LIB} == "c"
MAN3+= btree.3 dbm.3 dbopen.3 hash.3 mpool.3 recno.3
MAN+= btree.3 dbm.3 dbopen.3 hash.3 mpool.3 recno.3
MLINKS+= dbm.3 dbm_clearerr.3
MLINKS+= dbm.3 dbm_close.3

View File

@ -34,7 +34,7 @@ SRCS+= __xuname.c _pthread_stubs.c _rand48.c _spinlock_stub.c _thread_init.c \
.include "${.CURDIR}/../libc/${MACHINE_ARCH}/gen/Makefile.inc"
.if ${LIB} == "c"
MAN3+= alarm.3 arc4random.3 clock.3 \
MAN+= alarm.3 arc4random.3 clock.3 \
basename.3 \
confstr.3 ctermid.3 daemon.3 \
devname.3 directory.3 dirname.3 dladdr.3 dllockinit.3 dlopen.3 \

View File

@ -7,7 +7,7 @@
SRCS+= gmon.c mcount.c
.if ${LIB} == "c"
MAN3+= moncontrol.3
MAN+= moncontrol.3
MLINKS+=moncontrol.3 monstartup.3
.endif

View File

@ -17,8 +17,8 @@ NOASM= __semctl.o break.o exit.o ftruncate.o getdomainname.o getlogin.o \
PSEUDO= _getlogin.o _exit.o
.if ${LIB} == "c"
MAN2+= i386_get_ioperm.2 i386_get_ldt.2 i386_vm86.2
MAN3+= i386_set_watch.3
MAN+= i386_get_ioperm.2 i386_get_ldt.2 i386_vm86.2
MAN+= i386_set_watch.3
MLINKS+=i386_get_ioperm.2 i386_set_ioperm.2
MLINKS+=i386_get_ldt.2 i386_set_ldt.2

View File

@ -12,11 +12,11 @@ SRCS+= ansi.c big5.c collate.c collcmp.c euc.c frune.c fix_grouping.c \
tolower.c toupper.c utf2.c
.if ${LIB} == "c"
MAN3+= ctype.3 isalnum.3 isalpha.3 isascii.3 isblank.3 iscntrl.3 \
MAN+= ctype.3 isalnum.3 isalpha.3 isascii.3 isblank.3 iscntrl.3 \
isdigit.3 isgraph.3 islower.3 isprint.3 ispunct.3 isspace.3 \
isupper.3 isxdigit.3 mbrune.3 multibyte.3 rune.3 setlocale.3 \
toascii.3 tolower.3 toupper.3
MAN4+= euc.4 utf2.4
MAN+= euc.4 utf2.4
MLINKS+=mbrune.3 mbmb.3 mbrune.3 mbrrune.3
MLINKS+=multibyte.3 mblen.3 multibyte.3 mbstowcs.3 multibyte.3 mbtowc.3 \

View File

@ -40,7 +40,7 @@ nslexer.c: nslexer.l nsparser.h
.include "${.CURDIR}/../libc/${MACHINE_ARCH}/net/Makefile.inc"
.if ${LIB} == "c"
MAN3+= addr2ascii.3 byteorder.3 ethers.3 getaddrinfo.3 gethostbyname.3 \
MAN+= addr2ascii.3 byteorder.3 ethers.3 getaddrinfo.3 gethostbyname.3 \
getifaddrs.3 getipnodebyname.3 \
getnameinfo.3 getnetent.3 getprotoent.3 getservent.3 hesiod.3 \
if_indextoname.3 \

View File

@ -6,5 +6,5 @@
SRCS+= msgcat.c
.if ${LIB} == "c"
MAN3+= catclose.3 catgets.3 catopen.3
MAN+= catclose.3 catgets.3 catopen.3
.endif

View File

@ -32,7 +32,7 @@ SRCS+= acl_calc_mask.c \
cap_set_proc.c \
cap_text.c
MAN3= acl.3 \
MAN= acl.3 \
acl_add_perm.3 \
acl_calc_mask.3 \
acl_clear_perms.3 \

View File

@ -9,8 +9,8 @@ CFLAGS+=-DPOSIX_MISTAKE
SRCS+= regcomp.c regerror.c regexec.c regfree.c
.if ${LIB} == "c"
MAN3+= regex.3
MAN7+= re_format.7
MAN+= regex.3
MAN+= re_format.7
MLINKS+=regex.3 regcomp.3 regex.3 regexec.3 regex.3 regerror.3
MLINKS+=regexec.3 regfree.3

View File

@ -44,12 +44,12 @@ crypt_xdr.c: ${RPCDIR}/crypt.x crypt.h
crypt.h: ${RPCDIR}/crypt.x
${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/crypt.x
MAN3+= bindresvport.3 des_crypt.3 getnetconfig.3 getnetpath.3 getrpcent.3 \
MAN+= bindresvport.3 des_crypt.3 getnetconfig.3 getnetpath.3 getrpcent.3 \
getrpcport.3 rpc.3 rpc_soc.3 rpc_clnt_auth.3 rpc_clnt_calls.3 \
rpc_clnt_create.3 rpc_svc_calls.3 rpc_svc_create.3 rpc_svc_err.3 \
rpc_svc_reg.3 rpc_xdr.3 rpcbind.3 xdr.3 publickey.3 rpc_secure.3 \
rtime.3
MAN5+= publickey.5 rpc.5 netconfig.5
MAN+= publickey.5 rpc.5 netconfig.5
MLINKS+= bindresvport.3 bindresvport_sa.3 \
getnetconfig.3 setnetconfig.3 \
getnetconfig.3 getnetconfigent.3 \

View File

@ -17,7 +17,7 @@ SRCS+= _flock_stub.c \
vsscanf.c wbuf.c wsetup.c
.if ${LIB} == "c"
MAN3+= fclose.3 ferror.3 fflush.3 fgetln.3 fgets.3 fopen.3 fputs.3 \
MAN+= fclose.3 ferror.3 fflush.3 fgetln.3 fgets.3 fopen.3 fputs.3 \
fread.3 fseek.3 funopen.3 getc.3 mktemp.3 printf.3 putc.3 remove.3 \
scanf.3 setbuf.3 stdio.3 tmpnam.3 ungetc.3

View File

@ -24,7 +24,7 @@ SRCS+= strtod.c
.include "${.CURDIR}/../libc/${MACHINE_ARCH}/stdlib/Makefile.inc"
.if ${LIB} == "c"
MAN3+= abort.3 abs.3 alloca.3 atexit.3 atof.3 atoi.3 atol.3 bsearch.3 \
MAN+= abort.3 abs.3 alloca.3 atexit.3 atof.3 atoi.3 atol.3 bsearch.3 \
div.3 exit.3 getenv.3 getopt.3 getsubopt.3 labs.3 \
ldiv.3 malloc.3 memory.3 qsort.3 radixsort.3 rand.3 random.3 \
realpath.3 strtod.3 strtol.3 strtoul.3 system.3 tsearch.3

View File

@ -6,8 +6,8 @@
SRCS+= asctime.c difftime.c localtime.c strftime.c strptime.c timelocal.c
.if ${LIB} == "c"
MAN3+= ctime.3 strftime.3 strptime.3 time2posix.3
MAN5+= tzfile.5
MAN+= ctime.3 strftime.3 strptime.3 time2posix.3
MAN+= tzfile.5
MLINKS+=ctime.3 asctime.3 ctime.3 difftime.3 ctime.3 gmtime.3 \
ctime.3 localtime.3 ctime.3 mktime.3 ctime.3 timegm.3 \

View File

@ -17,7 +17,7 @@ MISRCS+=bcmp.c bcopy.c bzero.c ffs.c index.c memccpy.c memchr.c memcmp.c \
.include "${.CURDIR}/../libc/${MACHINE_ARCH}/string/Makefile.inc"
.if ${LIB} == "c"
MAN3+= bcmp.3 bcopy.3 bstring.3 bzero.3 ffs.3 index.3 memccpy.3 memchr.3 \
MAN+= bcmp.3 bcopy.3 bstring.3 bzero.3 ffs.3 index.3 memccpy.3 memchr.3 \
memcmp.3 memcpy.3 memmove.3 memset.3 rindex.3 strcasecmp.3 strcat.3 \
strchr.3 strcmp.3 strcoll.3 strcpy.3 strcspn.3 strdup.3 strerror.3 \
string.3 strlcpy.3 strlen.3 strmode.3 strpbrk.3 strrchr.3 strsep.3 \

View File

@ -52,7 +52,7 @@ ${SPSEUDO}:
> ${.TARGET}
.if ${LIB} == "c"
MAN2+= _exit.2 accept.2 access.2 acct.2 adjtime.2 \
MAN+= _exit.2 accept.2 access.2 acct.2 adjtime.2 \
aio_cancel.2 aio_error.2 aio_read.2 aio_return.2 \
aio_suspend.2 aio_waitcomplete.2 aio_write.2 \
bind.2 brk.2 chdir.2 chflags.2 \
@ -81,7 +81,7 @@ MAN2+= _exit.2 accept.2 access.2 acct.2 adjtime.2 \
truncate.2 umask.2 undelete.2 \
unlink.2 utimes.2 vfork.2 wait.2 write.2
.if !defined(NO_P1003_1B)
MAN2+= sched_get_priority_max.2 sched_setparam.2 \
MAN+= sched_get_priority_max.2 sched_setparam.2 \
sched_setscheduler.2 sched_yield.2
.endif

View File

@ -6,7 +6,7 @@ SRCS+= xdr.c xdr_array.c xdr_float.c xdr_mem.c \
xdr_rec.c xdr_reference.c xdr_stdio.c
.if ${LIB} == "c"
MAN3+= xdr.3
MAN+= xdr.3
MLINKS+= rpc_xdr.3 xdr_accepted_reply.3 \
rpc_xdr.3 xdr_authsys_parms.3 \

View File

@ -4,7 +4,7 @@
.PATH: ${.CURDIR}/man
MAN3+= pthread_attr.3 \
MAN+= pthread_attr.3 \
pthread_cancel.3 \
pthread_cleanup_pop.3 \
pthread_cleanup_push.3 \

View File

@ -5,7 +5,7 @@ LIB= calendar
SRCS= calendar.c easter.c
INCS= calendar.h
MAN3= calendar.3
MAN= calendar.3
MLINKS= calendar.3 easterg.3 calendar.3 easterog.3 calendar.3 easteroj.3 \
calendar.3 gdate.3 calendar.3 jdate.3 \

View File

@ -9,7 +9,7 @@ INCS= camlib.h
DPADD+= ${LIBSBUF}
LDADD+= -lsbuf
MAN3= cam.3 cam_cdbparse.3
MAN= cam.3 cam_cdbparse.3
MLINKS+= cam.3 cam_open_device.3 \

View File

@ -3,7 +3,7 @@
LIB= com_err
SRCS= com_err.c error.c
INCS= ${COM_ERRDIR}/com_err.h ${COM_ERRDIR}/com_right.h
MAN3= com_err.3
MAN= com_err.3
COM_ERRDIR= ${.CURDIR}/../../contrib/com_err
CFLAGS+= -I${COM_ERRDIR}

View File

@ -15,8 +15,8 @@ NOPIC=
# XXX MISSING: tell.c
SRCS+= ascftime.c cftime.c ftime.c getpw.c gtty.c stty.c
MAN3+= 4.1/ftime.3 4.1/getpw.3 4.1/stty.3
MAN3+= 4.1/cftime.3
MAN+= 4.1/ftime.3 4.1/getpw.3 4.1/stty.3
MAN+= 4.1/cftime.3
MLINKS+=stty.3 gtty.3
MLINKS+=cftime.3 ascftime.3
@ -27,7 +27,7 @@ SRCS+= cfree.c lsearch.c regex.c rexec.c
SRCS+= insque.c remque.c
# XXX MISSING: ecvt.0
MAN3+= 4.3/cfree.3 4.3/insque.3 4.3/lsearch.3 4.3/re_comp.3 4.3/rexec.3
MAN+= 4.3/cfree.3 4.3/insque.3 4.3/lsearch.3 4.3/re_comp.3 4.3/rexec.3
# XXX MISSING: ecvt.3, so can't MLINK
#MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3
@ -37,12 +37,12 @@ MLINKS+=lsearch.3 lfind.3
# compat 4.4 sources
SRCS+= cuserid.c
MAN3+= 4.4/cuserid.3
MAN+= 4.4/cuserid.3
# regexp sources
SRCS+= regerror.c regexp.c regsub.c
MAN3+= regexp/regexp.3
MAN+= regexp/regexp.3
# XXX name clash with libc
# MLINKS+=regexp.3 regcomp.3 regexp.3 regexec.3 regexp.3 regerror.3

View File

@ -7,7 +7,7 @@ LIB= crypt
.PATH: ${.CURDIR}/../libmd
SRCS= crypt.c crypt-md5.c md5c.c misc.c
MAN3= crypt.3
MAN= crypt.3
MLINKS= crypt.3 crypt_get_format.3 crypt.3 crypt_set_format.3
CFLAGS+= -I${.CURDIR}/../libmd -I${.CURDIR}/../libutil
CFLAGS+= -DLIBC_SCCS -Wall

View File

@ -6,7 +6,7 @@ LIB= devstat
SRCS= devstat.c
INCS= devstat.h
MAN3= devstat.3
MAN= devstat.3
MLINKS+=devstat.3 getnumdevs.3
MLINKS+=devstat.3 getgeneration.3

View File

@ -14,7 +14,7 @@ NOPROFILE= yes
NOSHARED= yes
NOPIC= yes
MAN3= libdisk.3
MAN= libdisk.3
MLINKS+= libdisk.3 Open_Disk.3 \
libdisk.3 Clone_Disk.3 \
libdisk.3 Free_Disk.3 \

View File

@ -11,8 +11,7 @@ OSRCS= chared.c common.c el.c emacs.c fcns.c help.c hist.c key.c map.c \
DPADD= ${LIBTERMCAP}
LDADD= -ltermcap
MAN3= editline.3
MAN5= editrc.5
MAN= editline.3 editrc.5
MLINKS= editline.3 el_init.3 editline.3 el_end.3 editline.3 el_reset.3 \
editline.3 el_gets.3 editline.3 el_getc.3 editline.3 el_push.3 \

View File

@ -10,7 +10,7 @@ CFLAGS+= -DNDEBUG
SRCS= fetch.c common.c ftp.c http.c file.c \
ftperr.h httperr.h
INCS= fetch.h
MAN3= fetch.3
MAN= fetch.3
CLEANFILES= ftperr.h httperr.h
SHLIB_MAJOR= 2

View File

@ -28,7 +28,7 @@ ncurses_def.h: MKncurses_def.sh ncurses_defs
AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
${NCURSES}/include/ncurses_defs > ncurses_def.h
MAN3x= form.3x form_cursor.3x form_data.3x form_driver.3x \
MANx= form.3x form_cursor.3x form_data.3x form_driver.3x \
form_field.3x form_field_attributes.3x form_field_buffer.3x \
form_field_info.3x form_field_just.3x form_field_new.3x \
form_field_opts.3x form_field_userptr.3x \
@ -36,12 +36,11 @@ MAN3x= form.3x form_cursor.3x form_data.3x form_driver.3x \
form_new.3x form_new_page.3x form_opts.3x form_page.3x \
form_post.3x form_requestname.3x form_userptr.3x form_win.3x
# Generate the MAN3 list from MAN3x
.for page in ${MAN3x}
CLEANFILES+=${page:T:S/3x$/3/g}
MAN3+=${page:T:S/3x$/3/g}
all-man: ${page:T:S/3x$/3/g}
${page:T:S/3x$/3/g}: ${page}
# Generate the MAN list from MANx
.for page in ${MANx}
CLEANFILES+=${page:T:S/x$//g}
MAN+=${page:T:S/x$//g}
${page:T:S/x$//g}: ${page}
ln -s ${.ALLSRC} ${.TARGET}
.endfor
@ -92,5 +91,3 @@ MLINKS+=form_win.3 form_sub.3 form_win.3 scale_form.3 \
form_win.3 set_form_sub.3 form_win.3 set_form_win.3
.include <bsd.lib.mk>
.SUFFIXES: .3x .3

View File

@ -8,7 +8,7 @@ SRCS= ftpio.c ftperr.c
INCS= ftpio.h
CFLAGS+= -I${.CURDIR} -Wall
CFLAGS+= -DINET6
MAN3= ftpio.3
MAN= ftpio.3
CLEANFILES= ftperr.c
ftperr.c: ftp.errors

View File

@ -44,7 +44,7 @@ CLEANFILES+= y.tab.c y.tab.h
YFLAGS+=-d -p __libipsecyy
LFLAGS+=-P__libipsecyy
MAN3= ipsec_set_policy.3 ipsec_strerror.3
MAN= ipsec_set_policy.3 ipsec_strerror.3
MLINKS+=ipsec_set_policy.3 ipsec_get_policylen.3 \
ipsec_set_policy.3 ipsec_dump_policy.3

View File

@ -1,8 +1,10 @@
# $FreeBSD$
LIB= ipx
#CFLAGS+=-DLIBC_SCCS -I${.CURDIR}/../../sys
SRCS= ipx_addr.c ipx_ntoa.c
MAN3= ipx.3
MAN= ipx.3
MLINKS+=ipx.3 ipx_addr.3 ipx.3 ipx_ntoa.3

View File

@ -29,9 +29,9 @@ INCS= ${BIND_DIR}/include/isc/assertions.h \
${BIND_DIR}/include/isc/tree.h
INCDIR= /usr/include/isc
MAN3= assertions.3 bitncmp.3 eventlib.3 heap.3 \
MAN= assertions.3 bitncmp.3 eventlib.3 heap.3 \
logging.3 memcluster.3 tree.3
CLEANFILES+= ${MAN3}
CLEANFILES+= ${MAN}
MLINKS+= assertions.3 ENSURE.3 \
assertions.3 ENSURE_ERR.3 \

View File

@ -7,7 +7,7 @@ SRCS= kvm.c kvm_${MACHINE_ARCH}.c kvm_file.c kvm_getloadavg.c \
kvm_getswapinfo.c kvm_proc.c
INCS= kvm.h
MAN3= kvm.3 kvm_geterr.3 kvm_getfiles.3 kvm_getloadavg.3 kvm_getprocs.3 \
MAN= kvm.3 kvm_geterr.3 kvm_getfiles.3 kvm_getloadavg.3 kvm_getprocs.3 \
kvm_getswapinfo.3 kvm_nlist.3 kvm_open.3 kvm_read.3
MLINKS+=kvm_getprocs.3 kvm_getargv.3 kvm_getprocs.3 kvm_getenvv.3

View File

@ -128,7 +128,7 @@ SRCS+= atan2.s cabs.s cbrt.s sqrt.s sincos.s tan.s argred.s support.s \
.endif
MAN3+= common_source/acos.3 common_source/acosh.3 common_source/asin.3 \
MAN+= common_source/acos.3 common_source/acosh.3 common_source/asin.3 \
common_source/asinh.3 common_source/atan.3 common_source/atan2.3 \
common_source/atanh.3 common_source/ceil.3 common_source/cos.3 \
common_source/cosh.3 common_source/erf.3 common_source/exp.3 \

View File

@ -6,7 +6,7 @@ SRCS= md2c.c md4c.c md5c.c md2hl.c md4hl.c md5hl.c \
sha0c.c sha0hl.c sha1c.c sha1hl.c
INCS= md2.h md4.h md5.h ripemd.h sha.h
MAN3+= md2.3 md4.3 md5.3 ripemd.3 sha.3
MAN+= md2.3 md4.3 md5.3 ripemd.3 sha.3
MLINKS+=md2.3 MD2Init.3 md2.3 MD2Update.3 md2.3 MD2Final.3
MLINKS+=md2.3 MD2End.3 md2.3 MD2File.3 md2.3 MD2FileChunk.3
MLINKS+=md2.3 MD2Data.3

View File

@ -25,7 +25,7 @@ ncurses_def.h: MKncurses_def.sh ncurses_defs
AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
${NCURSES}/include/ncurses_defs > ncurses_def.h
MAN3x= menu.3x menu_attribs.3x menu_attributes.3x menu_cursor.3x \
MANx= menu.3x menu_attribs.3x menu_attributes.3x menu_cursor.3x \
menu_driver.3x menu_format.3x menu_hook.3x menu_items.3x \
menu_mark.3x menu_new.3x menu_opts.3x menu_pattern.3x \
menu_post.3x menu_requestname.3x menu_spacing.3x \
@ -33,12 +33,11 @@ MAN3x= menu.3x menu_attribs.3x menu_attributes.3x menu_cursor.3x \
mitem_new.3x mitem_opts.3x mitem_userptr.3x mitem_value.3x \
mitem_visible.3x
# Generate the MAN3 list from MAN3x
.for page in ${MAN3x}
CLEANFILES+=${page:T:S/3x$/3/g}
MAN3+=${page:T:S/3x$/3/g}
all-man: ${page:T:S/3x$/3/g}
${page:T:S/3x$/3/g}: ${page}
# Generate the MAN list from MANx
.for page in ${MANx}
CLEANFILES+=${page:T:S/x$//g}
MAN+=${page:T:S/x$//g}
${page:T:S/x$//g}: ${page}
ln -s ${.ALLSRC} ${.TARGET}
.endfor
@ -77,5 +76,3 @@ MLINKS+=mitem_value.3 item_value.3 mitem_value.3 set_item_value.3
MLINKS+=mitem_visible.3 item_visible.3
.include <bsd.lib.mk>
.SUFFIXES: .3x .3

View File

@ -376,7 +376,7 @@ terminfo.5: MKterminfo.sh terminfo.head Caps
CLEANFILES+= terminfo.5
MANFILTER= sed -e 's\#@DATADIR@\#${TERMINFODIR}/terminfo\#g'
MAN3x= curs_addch.3x curs_addchstr.3x curs_addstr.3x curs_attr.3x \
MANx= curs_addch.3x curs_addchstr.3x curs_addstr.3x curs_attr.3x \
curs_beep.3x curs_bkgd.3x curs_border.3x curs_clear.3x curs_color.3x \
curs_delch.3x curs_deleteln.3x curs_extend.3x curs_getch.3x \
curs_getstr.3x \
@ -389,15 +389,14 @@ MAN3x= curs_addch.3x curs_addchstr.3x curs_addstr.3x curs_attr.3x \
curs_touch.3x curs_trace.3x curs_util.3x curs_window.3x \
default_colors.3x define_key.3x \
dft_fgbg.3x keybound.3x keyok.3x ncurses.3x resizeterm.3x wresize.3x
MAN5= term.5 terminfo.5
MAN7= term.7
MAN= term.5 terminfo.5
MAN+= term.7
# Generate the MAN3 list from MAN3x
.for page in ${MAN3x}
CLEANFILES+=${page:T:S/3x$/3/g}
MAN3+=${page:T:S/3x$/3/g}
all-man: ${page:T:S/3x$/3/g}
${page:T:S/3x$/3/g}: ${page}
# Generate the MAN list from MANx
.for page in ${MANx}
CLEANFILES+=${page:T:S/x$//g}
MAN+=${page:T:S/x$//g}
${page:T:S/x$//g}: ${page}
ln -s ${.ALLSRC} ${.TARGET}
.endfor
@ -545,5 +544,3 @@ MLINKS+=default_colors.3 assume_default_colors.3 \
default_colors.3 use_default_colors.3
.include <bsd.lib.mk>
.SUFFIXES: .3x .3

View File

@ -2,7 +2,7 @@
# $Whistle: Makefile,v 1.4 1999/01/17 03:41:02 julian Exp $
LIB= netgraph
MAN3= netgraph.3
MAN= netgraph.3
SHLIB_MAJOR= 1
#SHLIB_MINOR= 1

View File

@ -27,7 +27,6 @@ CFLAGS+=-I${.CURDIR} -I${OPIE_DIST} -I${DIST_DIR} \
LDADD+= -lmd
DPADD+= ${LIBMD}
MAN4= ${OPIE_DIST}/opie.4
MAN5= ${OPIE_DIST}/opiekeys.5 ${OPIE_DIST}/opieaccess.5
MAN= ${OPIE_DIST}/opie.4 ${OPIE_DIST}/opiekeys.5 ${OPIE_DIST}/opieaccess.5
.include <bsd.lib.mk>

View File

@ -43,12 +43,12 @@ SRCS= pam_account.c pam_auth.c pam_data.c pam_delay.c \
pam_strerror.c
HDRS1= _pam_compat.h _pam_macros.h _pam_types.h \
pam_appl.h pam_malloc.h pam_modules.h
MAN3+= pam_authenticate.3 pam_chauthtok.3 pam_fail_delay.3 \
MAN+= pam_authenticate.3 pam_chauthtok.3 pam_fail_delay.3 \
pam_open_session.3 pam_setcred.3 pam_start.3 \
pam_strerror.3
MLINKS+= pam_open_session.3 pam_close_session.3 \
pam_start.3 pam_end.3
MAN8+= pam.8
MAN+= pam.8
MLINKS+= pam.8 pam.conf.5 pam.8 pam.d.5
# Files from ${PAMDIR}/libpam_misc:

View File

@ -37,6 +37,6 @@ LDADD+= -lradius
INTERNALLIB= yes
INTERNALSTATICLIB=yes
MAN8= pam_radius.8
MAN= pam_radius.8
.include <bsd.lib.mk>

View File

@ -23,9 +23,9 @@ ncurses_def.h: MKncurses_def.sh ncurses_defs
AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
${NCURSES}/include/ncurses_defs > ncurses_def.h
# generate MAN3
# generate MAN
CLEANFILES+= panel.3
MAN3= panel.3
MAN= panel.3
all-man: panel.3
panel.3: panel.3x
ln -s ${.ALLSRC} ${.TARGET}

View File

@ -6,7 +6,7 @@ SRCS= grammar.y tokdefs.h pcap-bpf.c \
pcap.c inet.c gencode.c optimize.c nametoaddr.c \
etherent.c savefile.c bpf_filter.c bpf_image.c \
scanner.l version.c
MAN3= pcap.3
MAN= pcap.3
CLEANFILES=tokdefs.h version.c
DEFS= -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1 \

View File

@ -32,7 +32,7 @@ SRCS+= acl_calc_mask.c \
cap_set_proc.c \
cap_text.c
MAN3= acl.3 \
MAN= acl.3 \
acl_add_perm.3 \
acl_calc_mask.3 \
acl_clear_perms.3 \

View File

@ -4,7 +4,7 @@
.PATH: ${.CURDIR}/man
MAN3+= pthread_attr.3 \
MAN+= pthread_attr.3 \
pthread_cancel.3 \
pthread_cleanup_pop.3 \
pthread_cleanup_push.3 \

View File

@ -32,7 +32,6 @@ DPADD+= ${LIBMD}
LDADD+= -lmd
SHLIB_MAJOR= 1
SHLIB_MINOR= 0
MAN3+= libradius.3
MAN5+= radius.conf.5
MAN= libradius.3 radius.conf.5
.include <bsd.lib.mk>

View File

@ -4,12 +4,12 @@
LIB= skey
SRCS= skeyaccess.c put.c skey_crypt.c skey_getpass.c skeylogin.c skeysubr.c
INCS= skey.h
MAN1= skey.1
MAN3= skey.3
MAN= skey.1
MAN+= skey.3
MLINKS= skey.3 skeylookup.3 skey.3 skeyverify.3 skey.3 skeychallenge.3 \
skey.3 skeyinfo.3 skey.3 skeyaccess.3 skey.3 skey_getpass.3 \
skey.3 skey_crypt.3
MAN5= skey.access.5
MAN+= skey.access.5
CFLAGS+=-DPERMIT_CONSOLE -D_SKEY_INTERNAL -I${.CURDIR}
CFLAGS+=-W -Wall

View File

@ -10,7 +10,7 @@
LIB= stand
NOPROFILE= YES
NOPIC= YES
MAN3= libstand.3
MAN= libstand.3
# Mostly OK, some of the libc imports are a bit noisy
CFLAGS+= -Wall

View File

@ -32,7 +32,6 @@ DPADD+= ${LIBMD}
LDADD+= -lmd
SHLIB_MAJOR= 1
SHLIB_MINOR= 0
MAN3+= libtacplus.3
MAN5+= tacplus.conf.5
MAN= libtacplus.3 tacplus.conf.5
.include <bsd.lib.mk>

View File

@ -4,7 +4,7 @@
MAINTAINER= n_hibma@FreeBSD.ORG
LIB= usb
MAN3= usb.3
MAN= usb.3
SHLIB_MAJOR= 0
SHLIB_MINOR= 0

View File

@ -4,7 +4,7 @@
MAINTAINER= n_hibma@FreeBSD.ORG
LIB= usb
MAN3= usb.3
MAN= usb.3
SHLIB_MAJOR= 0
SHLIB_MINOR= 0

View File

@ -12,11 +12,11 @@ SRCS= _secure_path.c auth.c extattr.c fparseln.c login.c login_auth.c \
trimdomain.c uucplock.c
INCS= libutil.h login_cap.h
MAN3+= login.3 login_auth.3 login_tty.3 logout.3 logwtmp.3 pty.3 \
MAN+= login.3 login_auth.3 login_tty.3 logout.3 logwtmp.3 pty.3 \
login_cap.3 login_class.3 login_times.3 login_ok.3 \
_secure_path.3 uucplock.3 property.3 auth.3 realhostname.3 \
realhostname_sa.3 trimdomain.3 fparseln.3
MAN5+= login.conf.5 auth.conf.5
MAN+= login.conf.5 auth.conf.5
MLINKS+= property.3 properties_read.3 property.3 properties_free.3
MLINKS+= property.3 property_find.3
MLINKS+= auth.3 auth_getval.3

View File

@ -5,7 +5,7 @@ SHLIB_MINOR= 0
CFLAGS+=-Wall -I${.CURDIR}
SRCS= main.c simple.c bitmap.c text.c mouse.c keyboard.c
INCS= vgl.h
MAN3= vgl.3
MAN= vgl.3
MLINKS+= vgl.3 VGLBitmapCopy.3 \
vgl.3 VGLBitmapPutChar.3 \
vgl.3 VGLBitmapString.3 \

View File

@ -7,8 +7,8 @@ MAINTAINER=markm@FreeBSD.org
LIB= wrap
SHLIB_MAJOR= 3
SHLIB_MINOR= 0
MAN3= hosts_access.3
MAN5= hosts_access.5 hosts_options.5
MAN= hosts_access.3
MAN+= hosts_access.5 hosts_options.5
.PATH: ${.CURDIR}/../../contrib/tcp_wrappers

View File

@ -5,7 +5,7 @@
MAINTAINER=peter@FreeBSD.org
LIB= z
MAN3= zlib.3
MAN= zlib.3
#CFLAGS+= -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7
#CFLAGS+= -g -DDEBUG

View File

@ -121,7 +121,7 @@ ${ARCH_PREFIX}${i}: ${.CURDIR}/${ARCH}/${i}
cp ${.ALLSRC} ${.TARGET}
.endfor
MAN3+= acos.3 acosh.3 asin.3 asinh.3 atan.3 atan2.3 atanh.3 ceil.3 \
MAN= acos.3 acosh.3 asin.3 asinh.3 atan.3 atan2.3 atanh.3 ceil.3 \
cos.3 cosh.3 erf.3 exp.3 fabs.3 floor.3 fmod.3 hypot.3 ieee.3 \
ieee_test.3 j0.3 lgamma.3 math.3 rint.3 sin.3 sinh.3 sqrt.3 \
tan.3 tanh.3

View File

@ -28,7 +28,7 @@ ncurses_def.h: MKncurses_def.sh ncurses_defs
AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
${NCURSES}/include/ncurses_defs > ncurses_def.h
MAN3x= form.3x form_cursor.3x form_data.3x form_driver.3x \
MANx= form.3x form_cursor.3x form_data.3x form_driver.3x \
form_field.3x form_field_attributes.3x form_field_buffer.3x \
form_field_info.3x form_field_just.3x form_field_new.3x \
form_field_opts.3x form_field_userptr.3x \
@ -36,12 +36,11 @@ MAN3x= form.3x form_cursor.3x form_data.3x form_driver.3x \
form_new.3x form_new_page.3x form_opts.3x form_page.3x \
form_post.3x form_requestname.3x form_userptr.3x form_win.3x
# Generate the MAN3 list from MAN3x
.for page in ${MAN3x}
CLEANFILES+=${page:T:S/3x$/3/g}
MAN3+=${page:T:S/3x$/3/g}
all-man: ${page:T:S/3x$/3/g}
${page:T:S/3x$/3/g}: ${page}
# Generate the MAN list from MANx
.for page in ${MANx}
CLEANFILES+=${page:T:S/x$//g}
MAN+=${page:T:S/x$//g}
${page:T:S/x$//g}: ${page}
ln -s ${.ALLSRC} ${.TARGET}
.endfor
@ -92,5 +91,3 @@ MLINKS+=form_win.3 form_sub.3 form_win.3 scale_form.3 \
form_win.3 set_form_sub.3 form_win.3 set_form_win.3
.include <bsd.lib.mk>
.SUFFIXES: .3x .3

View File

@ -25,7 +25,7 @@ ncurses_def.h: MKncurses_def.sh ncurses_defs
AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
${NCURSES}/include/ncurses_defs > ncurses_def.h
MAN3x= menu.3x menu_attribs.3x menu_attributes.3x menu_cursor.3x \
MANx= menu.3x menu_attribs.3x menu_attributes.3x menu_cursor.3x \
menu_driver.3x menu_format.3x menu_hook.3x menu_items.3x \
menu_mark.3x menu_new.3x menu_opts.3x menu_pattern.3x \
menu_post.3x menu_requestname.3x menu_spacing.3x \
@ -33,12 +33,11 @@ MAN3x= menu.3x menu_attribs.3x menu_attributes.3x menu_cursor.3x \
mitem_new.3x mitem_opts.3x mitem_userptr.3x mitem_value.3x \
mitem_visible.3x
# Generate the MAN3 list from MAN3x
.for page in ${MAN3x}
CLEANFILES+=${page:T:S/3x$/3/g}
MAN3+=${page:T:S/3x$/3/g}
all-man: ${page:T:S/3x$/3/g}
${page:T:S/3x$/3/g}: ${page}
# Generate the MAN list from MANx
.for page in ${MANx}
CLEANFILES+=${page:T:S/x$//g}
MAN+=${page:T:S/x$//g}
${page:T:S/x$//g}: ${page}
ln -s ${.ALLSRC} ${.TARGET}
.endfor
@ -77,5 +76,3 @@ MLINKS+=mitem_value.3 item_value.3 mitem_value.3 set_item_value.3
MLINKS+=mitem_visible.3 item_visible.3
.include <bsd.lib.mk>
.SUFFIXES: .3x .3

View File

@ -376,7 +376,7 @@ terminfo.5: MKterminfo.sh terminfo.head Caps
CLEANFILES+= terminfo.5
MANFILTER= sed -e 's\#@DATADIR@\#${TERMINFODIR}/terminfo\#g'
MAN3x= curs_addch.3x curs_addchstr.3x curs_addstr.3x curs_attr.3x \
MANx= curs_addch.3x curs_addchstr.3x curs_addstr.3x curs_attr.3x \
curs_beep.3x curs_bkgd.3x curs_border.3x curs_clear.3x curs_color.3x \
curs_delch.3x curs_deleteln.3x curs_extend.3x curs_getch.3x \
curs_getstr.3x \
@ -389,15 +389,14 @@ MAN3x= curs_addch.3x curs_addchstr.3x curs_addstr.3x curs_attr.3x \
curs_touch.3x curs_trace.3x curs_util.3x curs_window.3x \
default_colors.3x define_key.3x \
dft_fgbg.3x keybound.3x keyok.3x ncurses.3x resizeterm.3x wresize.3x
MAN5= term.5 terminfo.5
MAN7= term.7
MAN= term.5 terminfo.5
MAN+= term.7
# Generate the MAN3 list from MAN3x
.for page in ${MAN3x}
CLEANFILES+=${page:T:S/3x$/3/g}
MAN3+=${page:T:S/3x$/3/g}
all-man: ${page:T:S/3x$/3/g}
${page:T:S/3x$/3/g}: ${page}
# Generate the MAN list from MANx
.for page in ${MANx}
CLEANFILES+=${page:T:S/x$//g}
MAN+=${page:T:S/x$//g}
${page:T:S/x$//g}: ${page}
ln -s ${.ALLSRC} ${.TARGET}
.endfor
@ -545,5 +544,3 @@ MLINKS+=default_colors.3 assume_default_colors.3 \
default_colors.3 use_default_colors.3
.include <bsd.lib.mk>
.SUFFIXES: .3x .3

View File

@ -23,9 +23,9 @@ ncurses_def.h: MKncurses_def.sh ncurses_defs
AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
${NCURSES}/include/ncurses_defs > ncurses_def.h
# generate MAN3
# generate MAN
CLEANFILES+= panel.3
MAN3= panel.3
MAN= panel.3
all-man: panel.3
panel.3: panel.3x
ln -s ${.ALLSRC} ${.TARGET}

View File

@ -8,6 +8,6 @@ SRCS= alias.c alias_cuseeme.c alias_db.c alias_ftp.c alias_irc.c \
alias_nbt.c alias_pptp.c alias_proxy.c alias_smedia.c \
alias_util.c
INCS= alias.h
MAN3= libalias.3
MAN= libalias.3
.include <bsd.lib.mk>