bug-make
[Top][All Lists]
Advanced

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

[bug #62929] Normalize foo/./bar


From: Rex Yuan
Subject: [bug #62929] Normalize foo/./bar
Date: Sun, 11 Sep 2022 13:19:40 -0400 (EDT)

Follow-up Comment #7, bug #62929 (project make):

Thank you Paul for walking me through the means of participation.

Following is what I should've quoted, from 2.3 How make Processes a Makefile
<https://www.gnu.org/software/make/manual/html_node/How-Make-Works.html#How-Make-Works:~:text=By%20default%2C,Special%20Variables).>.

> By default, make starts with the first target (not targets whose names start
with ‘.’). This is called the _default goal_.

I interpret this as that Make sets the _default goal_ as the first target
encountered without containing the prefix '.'. Thus, considering both of my
examples, Make should, in both cases, have chosen 'c' as _default goal_ since
the other two both start with '.'.

If I may express my opinion a little bit: I think there is a lack of treatment
in the manual on how exactly relative pathing with dots are dealt with in
writing targets and matching goals.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62929>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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