From dc46a50db4c528084490081f8fcbea35cdcc7185 Mon Sep 17 00:00:00 2001 From: pst Date: Wed, 21 Aug 1996 17:11:41 +0000 Subject: [PATCH] Change DISTDIR to TCPDUMP_DISTDIR --- usr.sbin/tcpdump/tcpslice/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.sbin/tcpdump/tcpslice/Makefile b/usr.sbin/tcpdump/tcpslice/Makefile index 0475e8c00fc7..123e2fa6f98f 100644 --- a/usr.sbin/tcpdump/tcpslice/Makefile +++ b/usr.sbin/tcpdump/tcpslice/Makefile @@ -8,12 +8,12 @@ CLEANFILES+= version.c version.h DPADD+= ${LIBPCAP} LDADD+= -lpcap -DISTDIR?= ${.CURDIR}/../../../contrib/tcpdump +TCPDUMP_DISTDIR?= ${.CURDIR}/../../../contrib/tcpdump -version.c version.h: $(DISTDIR}/VERSION +version.c version.h: $(TCPDUMP_DISTDIR}/VERSION rm -f version.c ; \ - sed 's/.*/char version[] = "&";/' ${DISTDIR}/VERSION > version.c - set `sed 's/\([0-9]*\)\.\([0-9]*\).*/\1 \2/' ${DISTDIR}/VERSION` ; \ + sed 's/.*/char version[] = "&";/' ${TCPDUMP_DISTDIR}/VERSION > version.c + set `sed 's/\([0-9]*\)\.\([0-9]*\).*/\1 \2/' ${TCPDUMP_DISTDIR}/VERSION` ; \ { echo '#define VERSION_MAJOR' $$1 ; \ echo '#define VERSION_MINOR' $$2 ; } > version.h