Revert tcpdump to using the source manpage instead of having a copy here.

This helps future maintainability of tcpdump so we don't forget to update
the manpage (like we have previously).

Stolen from:	usr.bin/file/Makefile
Reviewed by:	jilles
Approved by:	delphij (mentor)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D12403
This commit is contained in:
Gordon Tetlow 2017-09-18 16:42:13 +00:00
parent 3f247eab7a
commit eb039c2661
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=323709
2 changed files with 7 additions and 1978 deletions

View File

@ -173,7 +173,7 @@ SRCS= addrtoname.c \
tcpdump.c \
util-print.c \
version.c
CLEANFILES+= version.c
CLEANFILES+= version.c ${MAN}
CFLAGS+= -I${.CURDIR} -I${TCPDUMP_DISTDIR}
CFLAGS+= -DHAVE_CONFIG_H
@ -210,3 +210,9 @@ version.c: ${TCPDUMP_DISTDIR}/VERSION
> version.c
.include <bsd.prog.mk>
.for mp in ${MAN}
${mp}: ${mp}.in
sed -e 's/@MAN_MISC_INFO@/7/g' -e 's/@MAN_FILE_FORMATS@/5/g' \
${.ALLSRC} > ${.TARGET}
.endfor

File diff suppressed because it is too large Load Diff