summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/Makefile
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>2000-01-14 07:57:47 +0000
committerrgrimes <rgrimes@FreeBSD.org>2000-01-14 07:57:47 +0000
commitc127d0e61e914c6951d98986385ccb730b115cf9 (patch)
treee0bf2775a4898eda7838b05b1a539892d8ea781c /lib/libfetch/Makefile
parent2801ff847ca9459d227f155a4dedd395b7d35a30 (diff)
downloadFreeBSD-src-c127d0e61e914c6951d98986385ccb730b115cf9.zip
FreeBSD-src-c127d0e61e914c6951d98986385ccb730b115cf9.tar.gz
Replace beforeinstall target with new variables used by .mk system.
Reviewed by: marcel, and make world
Diffstat (limited to 'lib/libfetch/Makefile')
-rw-r--r--lib/libfetch/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libfetch/Makefile b/lib/libfetch/Makefile
index f40f2b6..21d615a 100644
--- a/lib/libfetch/Makefile
+++ b/lib/libfetch/Makefile
@@ -8,18 +8,13 @@ CFLAGS+= -DNDEBUG
.endif
SRCS= fetch.c common.c ftp.c http.c file.c fetch_err.c \
fetch_err.h ftperr.h httperr.h
+INCS= fetch.h ${.OBJDIR}/fetch_err.h
MAN3= fetch.3
CLEANFILES= fetch_err.c fetch_err.h ftperr.h httperr.h
SHLIB_MAJOR= 1
SHLIB_MINOR= 0
-beforeinstall:
- ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/fetch.h \
- ${DESTDIR}/usr/include
- ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 fetch_err.h \
- ${DESTDIR}/usr/include
-
ftperr.h: ftp.errors
@echo "static struct fetcherr _ftp_errlist[] = {" > ${.TARGET}
@cat ${.ALLSRC} \
OpenPOWER on IntegriCloud