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:
parent
3f247eab7a
commit
eb039c2661
@ -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
Loading…
x
Reference in New Issue
Block a user