]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* doc/make.texi: Use $(firstword) rather than $(word 1,)
authorPaul Smith <psmith@gnu.org>
Sun, 27 Nov 2022 20:31:56 +0000 (15:31 -0500)
committerPaul Smith <psmith@gnu.org>
Mon, 28 Nov 2022 15:50:55 +0000 (10:50 -0500)
doc/make.texi

index e3a3ade4605217d450c37ce5988a51852c1e5eb7..edceee7668780fada4d9d520abaa0759795c81aa 100644 (file)
@@ -7352,7 +7352,7 @@ marking an archive file up to date:
 
 @example
 archive.a: @dots{}
-ifneq (,$(findstring t,$(word 1,-$(MAKEFLAGS))))
+ifneq (,$(findstring t,$(firstword -$(MAKEFLAGS))))
         +touch archive.a
         +ranlib -t archive.a
 else