Add NO_FETCH handling in the similar way as other NO_* targets does

This commit is contained in:
Andrey A. Chernov 1995-10-16 14:27:20 +00:00
parent 94e0871d90
commit d087a6170b

View File

@ -3,7 +3,7 @@
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
#
# $Id: bsd.port.mk,v 1.183 1995/10/11 09:25:58 asami Exp $
# $Id: bsd.port.mk,v 1.184 1995/10/16 14:18:22 ache Exp $
#
# Please view me with 4 column tabs!
@ -427,6 +427,10 @@ is_depended: ${IS_DEPENDED_TARGET}
# override from an individual Makefile.
################################################################
.if defined(NO_FETCH) && !target(fetch)
fetch:
@${DO_NADA}
.endif
.if defined(NO_EXTRACT) && !target(extract)
extract: checksum
@/bin/rm -rf ${WRKDIR}