]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* doc/make.texi (Goals): [SV 51306] Improve MAKECMDGOALS example
authorPaul Smith <psmith@gnu.org>
Sun, 7 Aug 2022 21:29:49 +0000 (17:29 -0400)
committerPaul Smith <psmith@gnu.org>
Sun, 7 Aug 2022 21:32:07 +0000 (17:32 -0400)
doc/make.texi

index 430ae11f679729e9ca10ecd6a36bdaef688227d4..b9e232f9954372dec2784b9e1b63c10126f9748f 100644 (file)
@@ -8804,7 +8804,7 @@ again:@refill
 @group
 sources = foo.c bar.c
 
-ifneq ($(MAKECMDGOALS),clean)
+ifeq (,$(filter clean,$(MAKECMDGOALS))
 include $(sources:.c=.d)
 endif
 @end group