add .FORCE phony target to mirror-maker, so that you can set F=.FORCE to

force redoing something on every target easily.
This commit is contained in:
espie 2008-08-20 00:04:30 +00:00
parent 96836d3bb7
commit db1d7f9c8c

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.60 2008/07/04 15:43:39 sturm Exp $
# $OpenBSD: Makefile,v 1.61 2008/08/20 00:04:30 espie Exp $
# $FreeBSD: Makefile,v 1.36 1997/10/04 15:54:31 jkh Exp $
#
@ -121,7 +121,8 @@ mirror-maker:
@echo '' >>${MIRROR_MK}
@echo "default:: ftp cdrom" >>${MIRROR_MK}
@echo ".PHONY: default all ftp cdrom" >>${MIRROR_MK}
@echo ".PHONY: default all ftp cdrom .FORCE" >>${MIRROR_MK}
@echo ".FORCE:" >>${MIRROR_MK}
@_DONE_FILES=`mktemp /tmp/depends.XXXXXXXXX|| exit 1`; \
export _DONE_FILES; \
trap "rm -f $${_DONE_FILES}" 0 1 2 3 13 15; \