From db1d7f9c8cc809eb70ef5b703c3b456119ee4456 Mon Sep 17 00:00:00 2001 From: espie Date: Wed, 20 Aug 2008 00:04:30 +0000 Subject: [PATCH] add .FORCE phony target to mirror-maker, so that you can set F=.FORCE to force redoing something on every target easily. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 148c0f63498..46be1a85aea 100644 --- a/Makefile +++ b/Makefile @@ -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; \