diff --git a/usr.bin/host/Makefile b/usr.bin/host/Makefile index 385bf1b35e73..cc1111f115f9 100644 --- a/usr.bin/host/Makefile +++ b/usr.bin/host/Makefile @@ -1,21 +1,22 @@ # $FreeBSD$ LDNSDIR= ${.CURDIR}/../../contrib/ldns LDNSHOSTDIR= ${.CURDIR}/../../contrib/ldns-host .PATH: ${LDNSHOSTDIR} PROG= host SRCS= ldns-host.c MAN= host.1 +CLEANFILES+= host.1 host.1: ldns-host.1 sed -e 's/ldns-//gI' <${.ALLSRC} >${.TARGET} || \ (rm -rf ${.TARGET} ; false) CFLAGS+= -I${LDNSDIR} DPADD+= ${LIBLDNS} ${LIBCRYPTO} LDADD+= ${LDLDNS} -lcrypto USEPRIVATELIB= ldns .include