From edabafcb018a8a5d0ce4a5f76f7571c8241e8a4d Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Wed, 19 Dec 2007 05:10:07 +0000 Subject: [PATCH] Add missing dependencies on Makefile (fixes NO_CLEAN builds). --- lib/libfetch/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libfetch/Makefile b/lib/libfetch/Makefile index 349eb615065..219a6992020 100644 --- a/lib/libfetch/Makefile +++ b/lib/libfetch/Makefile @@ -27,9 +27,9 @@ WARNS?= 2 SHLIB_MAJOR= 5 -ftperr.h: ftp.errors +ftperr.h: ftp.errors ${.CURDIR}/Makefile @echo "static struct fetcherr ftp_errlist[] = {" > ${.TARGET} - @cat ${.ALLSRC} \ + @cat ${.CURDIR}/ftp.errors \ | grep -v ^# \ | sort \ | while read NUM CAT STRING; do \ @@ -38,9 +38,9 @@ ftperr.h: ftp.errors @echo " { -1, FETCH_UNKNOWN, \"Unknown FTP error\" }" >> ${.TARGET} @echo "};" >> ${.TARGET} -httperr.h: http.errors +httperr.h: http.errors ${.CURDIR}/Makefile @echo "static struct fetcherr http_errlist[] = {" > ${.TARGET} - @cat ${.ALLSRC} \ + @cat ${.CURDIR}/http.errors \ | grep -v ^# \ | sort \ | while read NUM CAT STRING; do \