Module Name: src Committed By: rillig Date: Mon Jul 27 20:55:59 UTC 2020
Modified Files: src/usr.bin/make/unit-tests: include-main.mk Log Message: make(1): document where to fix the .INCLUDEDFROM bug To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/include-main.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/make/unit-tests/include-main.mk diff -u src/usr.bin/make/unit-tests/include-main.mk:1.1 src/usr.bin/make/unit-tests/include-main.mk:1.2 --- src/usr.bin/make/unit-tests/include-main.mk:1.1 Sun May 17 12:36:26 2020 +++ src/usr.bin/make/unit-tests/include-main.mk Mon Jul 27 20:55:59 2020 @@ -1,11 +1,11 @@ -# $NetBSD: include-main.mk,v 1.1 2020/05/17 12:36:26 rillig Exp $ +# $NetBSD: include-main.mk,v 1.2 2020/07/27 20:55:59 rillig Exp $ # # Demonstrates that the .INCLUDEDFROMFILE magic variable does not behave # as described in the manual page. # # The manual page says that it is the "filename of the file this Makefile # was included from", while in reality it is the "filename in which the -# latest .include happened". +# latest .include happened". See parse.c, function ParseSetIncludeFile. # .if !defined(.INCLUDEDFROMFILE)