mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
tcpdump: don't create unused version.c
The version now comes from the PACKAGE_VERSION macro.
Fixes: 0a7e5f1f02 ("tcpdump: Update to 4.99.5")
Reviewed by: jrm, emaste
Differential Revision: https://reviews.freebsd.org/D52334
This commit is contained in:
parent
9f67000141
commit
4b8eebe975
1 changed files with 3 additions and 8 deletions
|
|
@ -186,9 +186,9 @@ SRCS= addrtoname.c \
|
|||
print-unsupported.c \
|
||||
print-vsock.c \
|
||||
print-whois.c \
|
||||
print-zep.c \
|
||||
version.c
|
||||
CLEANFILES+= version.c ${MAN}
|
||||
print-zep.c
|
||||
|
||||
CLEANFILES+= ${MAN}
|
||||
|
||||
CFLAGS+= -I${.CURDIR} -I${TCPDUMP_DISTDIR}
|
||||
CFLAGS+= -DHAVE_CONFIG_H
|
||||
|
|
@ -217,11 +217,6 @@ SRCS+= print-pflog.c \
|
|||
CFLAGS+= -DHAVE_NET_PFVAR_H -DHAVE_NET_IF_PFLOG_H
|
||||
.endif
|
||||
|
||||
version.c: ${TCPDUMP_DISTDIR}/VERSION
|
||||
rm -f version.c ; \
|
||||
sed 's/.*/char version[] = "&";/' ${TCPDUMP_DISTDIR}/VERSION \
|
||||
> version.c
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.for mp in ${MAN}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue