Skip to content

Commit

Permalink
verify the spelling of clean options.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcespie committed Dec 19, 2004
1 parent 8df5fac commit 5a223e7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion infrastructure/mk/bsd.port.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#-*- mode: Makefile; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make:
# $OpenBSD: bsd.port.mk,v 1.670 2004/11/28 11:44:00 espie Exp $
# $OpenBSD: bsd.port.mk,v 1.671 2004/12/19 12:20:12 espie Exp $
# $FreeBSD: bsd.port.mk,v 1.264 1996/12/25 02:27:44 imp Exp $
# $NetBSD: bsd.port.mk,v 1.62 1998/04/09 12:47:02 hubertf Exp $
#
Expand Down Expand Up @@ -190,6 +190,14 @@ _clean+=fake
.if ${_clean:L:Mforce}
_clean+=-f
.endif
# check that clean is clean
_okay_words=depends work fake -f flavors dist install sub packages package \
readme bulk
.for _w in ${_clean:L}
. if !${_okay_words:M${_w}}
ERRORS+="Fatal: unknown clean command: ${_w}"
. endif
.endfor

NOMANCOMPRESS?= Yes
DEF_UMASK?= 022
Expand Down

0 comments on commit 5a223e7

Please sign in to comment.