1 1.7 rillig # $NetBSD: directive-info.mk,v 1.7 2020/12/19 12:40:00 rillig Exp $ 2 1.1 rillig # 3 1.2 rillig # Tests for the .info directive. 4 1.1 rillig 5 1.1 rillig # TODO: Implementation 6 1.1 rillig 7 1.3 rillig .info begin .info tests 8 1.3 rillig .inf # misspelled 9 1.3 rillig .info # oops: message should be "missing parameter" 10 1.3 rillig .info message 11 1.3 rillig .info indented message 12 1.3 rillig .information 13 1.6 rillig .information message # Accepted before 2020-12-13 01:07:54. 14 1.3 rillig .info.man: # not a message, but possibly a suffix rule 15 1.3 rillig 16 1.4 rillig # Even if lines would have trailing whitespace, this would be trimmed by 17 1.4 rillig # ParseGetLine. 18 1.4 rillig .info 19 1.4 rillig .info # comment 20 1.4 rillig 21 1.4 rillig .info: message # This is a dependency declaration. 22 1.4 rillig .info-message # This is an unknown directive. 23 1.4 rillig .info no-target: no-source # This is a .info directive, not a dependency. 24 1.4 rillig # See directive.mk for more tests of this kind. 25 1.4 rillig 26 1.7 rillig # Since at least 2002-01-01, the line number that is used in error messages 27 1.7 rillig # and the .info directives is the number of completely read lines. For the 28 1.7 rillig # following multi-line directive, this means that the reported line number is 29 1.7 rillig # the one of the last line, not the first line. 30 1.7 rillig .info expect line 30 for\ 31 1.7 rillig multi$\ 32 1.7 rillig -line message 33 1.7 rillig 34 1.1 rillig all: 35 1.1 rillig @:; 36