diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2019-12-16 09:11:38 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2019-12-16 09:11:38 +0000 |
commit | 174ae28247a9e8a23fa353a4c72aca812b025bd5 (patch) | |
tree | de4b9237349a4bbfcee2bb5482f5b36439b08eb4 /lib/libpcap/Makefile | |
parent | 61a72158bb8f85456dd00ebf24c1008ef7313fa5 (diff) | |
download | src-174ae28247a9e8a23fa353a4c72aca812b025bd5.tar.gz src-174ae28247a9e8a23fa353a4c72aca812b025bd5.zip |
Install missing pcap(3) manual pages and add missing manpage
section substitutions.
Submitted by: Martin Beran <martin@mber.cz>
PR: 237893
MFC after: 1 week
Sponsored by: Mellanox Technologies
Notes
Notes:
svn path=/head/; revision=355800
Diffstat (limited to 'lib/libpcap/Makefile')
-rw-r--r-- | lib/libpcap/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile index 89e31c6ac48f..4d7d5f4eb44f 100644 --- a/lib/libpcap/Makefile +++ b/lib/libpcap/Makefile @@ -109,7 +109,11 @@ MAN= pcap.3 \ pcap_statustostr.3 \ pcap_strerror.3 \ pcap_tstamp_type_name_to_val.3 \ - pcap_tstamp_type_val_to_name.3 + pcap_tstamp_type_val_to_name.3 \ + pcap-savefile.5 \ + pcap-filter.7 \ + pcap-linktype.7 \ + pcap-tstamp.7 MLINKS= \ pcap_datalink_val_to_name.3 pcap_datalink_val_to_description.3 \ @@ -173,7 +177,7 @@ tokdefs.h: grammar.h .NOMETA ${_page}: if [ -f ${PCAP_DISTDIR}/${_page:S/3$/3pcap/} ]; then \ F=${_page:S/3$/3pcap/}; \ - elif [ -f ${PCAP_DISTDIR}/${_page:S/3$/3pcap.in/} ]; then \ + elif [ -f ${PCAP_DISTDIR}/${_page:S/3$/3pcap.in/} ]; then \ F=${_page:S/3$/3pcap.in/}; \ elif [ -f ${PCAP_DISTDIR}/${_page:S/5$/manfile.in/} ]; then \ F=${_page:S/5$/manfile.in/}; \ @@ -182,7 +186,12 @@ ${_page}: else \ F=${_page:S/7$/manmisc.in/}; \ fi; \ - sed -e 's/3PCAP/3/g' ${PCAP_DISTDIR}/$$F > ${_page} + sed \ + -e 's/3PCAP/3/g' \ + -e 's/@MAN_FILE_FORMATS@/5/g' \ + -e 's/@MAN_MISC_INFO@/7/g' \ + -e 's/@MAN_ADMIN_COMMANDS@/8/g' \ + ${PCAP_DISTDIR}/$$F > ${_page} .endfor .include <bsd.lib.mk> |