CVS commit: src/usr.bin/make

"Simon J. Gerraty" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	sjg
Date:		Tue Mar  3 18:30:30 UTC 2026

Modified Files:
	src/usr.bin/make: job.c
	src/usr.bin/make/unit-tests: opt-debug-jobs.exp sh-errctl.exp

Log Message:
MaybeSubMake: look for expansion of ${.MAKE}

Only looking for the equivalent of ${.MAKE:T}
and calling it a match if preceded by '/' is too aggressive.

Look for the expansion of ${.MAKE} and if that is a full path also
look for the basename, but in each case, only call it a match if at the
start of the command line or preceded by space.

Note: over enthusiastic setting of OP_SUBMAKE is harmless, though
it can impact meta mode, requiring an explicit .META on some targets.


To generate a diff of this commit:
cvs rdiff -u -r1.525 -r1.526 src/usr.bin/make/job.c
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/make/unit-tests/opt-debug-jobs.exp
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/make/unit-tests/sh-errctl.exp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.