|
| From: | Markus Elfring |
| Subject: | [bug #51306] Checking programming possibilities around “MAKECMDGOALS” |
| Date: | Sat, 24 Jun 2017 16:22:37 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 |
URL:
<http://savannah.gnu.org/bugs/?51306>
Summary: Checking programming possibilities around
“MAKECMDGOALS”
Project: make
Submitted by: elfring
Submitted on: Sat 24 Jun 2017 10:22:36 PM CEST
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 4.2.1
Operating System: Any
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
The documentation contains the following information
<https://www.gnu.org/software/make/manual/html_node/Goals.html#index-MAKECMDGOALS>:
“…
Make will set the special variable MAKECMDGOALS to the list of goals you
specified on the command line.
…”
I imagine that such a list can occasionally provide several elements. I would
find the presented example insufficient in this case because only a simple
string comparison is performed there.
* How should the specified goals be really checked in a safe way?
* Is another software extension needed for the make function library?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51306>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |