On 09/29/2017 01:06 AM, Eli Zaretskii wrote:
Are there other situations where Make uses "foo/" and expects
that to mean that 'foo' is a directory?
It's pretty much any situation where Make looks for file names that the
user specifies. As a trivial example, the Makefile rule:
foo/:; mkdir -p $@
should fail if "foo" exists as a regular file, since Make will invoke
mkdir and mkdir will fail. If Make strips the trailing / before testing
the existence of "foo", Make will incorrectly skip the mkdir and so will
not guarantee that foo/ is a directory.
_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make