[bug #67924] The manual page '9.2 Arguments to Specify the Goals' has a syntax error in the first example

anonymous <[email protected]> Sat, 17 Jan 2026 04:40:34 -0500 (EST)
Newsgroups gmane.comp.gnu.make.bugs
Message-ID <[email protected]>
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 (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaWtZEgAKCRCqLAuaBUf3
ToM9AQDG19ntJB0aUqAPTQ4CBJXrkuhDvn2Hglpms2Fq2AgL9QD/fcjHRlPFJcFK
9kMBp8j+Zo9PqPRqQKDw4gwRXhfgTQU=
=rkA2
-----END PGP SIGNATURE-----