URL: <https://savannah.gnu.org/bugs/?67924>
Summary: The manual page '9.2 Arguments to Specify the Goals'
has a syntax error in the first example
Group: make
Submitter: None
Submitted: Sat 17 Jan 2026 09:40:30 AM UTC
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Documentation
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Unlocked
Component Version: None
Operating System: Any
Fixed Release: None
Triage Status: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sat 17 Jan 2026 09:40:30 AM UTC By: Anonymous
The first example in the page '9.2 Arguments to Specify the Goals' has a
syntax error: a missing closing paranthesis.
Currently the example is:
sources = foo.c bar.c
ifeq (,$(filter clean,$(MAKECMDGOALS))
include $(sources:.c=.d)
endif
where the line with *ifeq* is missing a closing paranthesis. The correct code
would be:
sources = foo.c bar.c
ifeq (,$(filter clean,$(MAKECMDGOALS)))
include $(sources:.c=.d)
endif
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67924>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
