[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #61328] elide the distinction between "dir" and "dir/"

From: Dmitry Goncharov
Subject: [bug #61328] elide the distinction between "dir" and "dir/"
Date: Sun, 10 Oct 2021 19:41:12 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #1, bug #61328 (project make):

> However, since "foo/" is illegal for anything but a directory it seems
harmless to assume directory. This special case could also be made to apply
exclusively to order-only prerequisites which is where directory dependencies
should be anyway.

It is not clear (atleast to me) what special behavior you mean. Do you mean
that make assumes that any order-only prerequisite is a directory and compares
'foo' as equal to 'foo/', as long as 'foo' is order-only?

Why don't you append a slash?

$(target): $$(@D)/


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]