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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user