summaryrefslogtreecommitdiffstats
path: root/lib/libfetch
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2007-12-19 05:10:07 +0000
committerru <ru@FreeBSD.org>2007-12-19 05:10:07 +0000
commit512a90a23520e7bf13a34b6879d6ef7fe8f566bd (patch)
tree8ba36abca839f26f7944d0eaff138f1dc2ec15d2 /lib/libfetch
parentd140ab1c44b82f92710f7b1a2d09683f0ecad564 (diff)
downloadFreeBSD-src-512a90a23520e7bf13a34b6879d6ef7fe8f566bd.zip
FreeBSD-src-512a90a23520e7bf13a34b6879d6ef7fe8f566bd.tar.gz
Add missing dependencies on Makefile (fixes NO_CLEAN builds).
Diffstat (limited to 'lib/libfetch')
-rw-r--r--lib/libfetch/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libfetch/Makefile b/lib/libfetch/Makefile
index 349eb61..219a699 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 \
OpenPOWER on IntegriCloud