Add missing dependencies on Makefile (fixes NO_CLEAN builds).

This commit is contained in:
Ruslan Ermilov 2007-12-19 05:10:07 +00:00
parent 9227047ec5
commit edabafcb01

View file

@ -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 \