# $NetBSD: directive-misspellings.mk,v 1.1 2020/12/13 00:46:25 rillig Exp $ # # Tests for misspelled directives. # # Before 2020-12-12, make didn't catch most of these misspellings. For # example, the directive ".exporting" was interpreted as if it were spelled # ".export ing", which would export the variable named "ing" if that existed. # Another misspelling, as improbable as the others, was that both ".infos" and # ".information" were aliases to ".info" since the code for these diagnostic # directives just skipped any letters following the "error", "warn" or "info". .dinclud "file" .dinclude "file" .dincludx "file" .dincludes "file" # XXX: the 's' is not meant to be a filename .erro msg .errox msg # no .error since that would exit immediately # no .errors since that would exit immediately, even with the typo .expor varname .export varname .exporx varname .exports varname # XXX: undetected misspelling .export-en # XXX: undetected misspelling .export-env .export-env extra argument # XXX: undetected extra argument .export-environment # XXX: undetected misspelling .export-litera varname # XXX: undetected misspelling .export-literal varname .export-literax varname # XXX: undetected misspelling .export-literally varname # XXX: undetected misspelling .-includ "file" .-include "file" .-includx "file" .-includes "file" # XXX: the 's' is not meant to be a filename .includ "file" .include "file" .includx "file" .includex "file" # XXX: the 's' is not meant to be a filename .inf msg .info msg .infx msg .infos msg # XXX: undetected misspelling .sinclud "file" .sinclude "file" .sincludx "file" .sincludes "file" # XXX: the 's' is not meant to be a filename .unde varname .undef varname .undex varname .undefs varname # XXX: undetected misspelling .unexpor varname .unexport varname .unexporx varname .unexports varname # Accepted before 2020-12-12 18:00:18. .unexport-en # Accepted before 2020-12-12 18:11:42. .unexport-env .unexport-env extra argument # Accepted before 2020-12-12 18:00:18. .unexport-enx # Accepted before 2020-12-12 18:00:18. .unexport-envs # Accepted before 2020-12-12 18:00:18. .warn msg .warnin msg .warning msg .warninx msg .warnings msg # XXX: undetected misspelling all: