summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2022-11-27 15:31:56 -0500
committerPaul Smith <psmith@gnu.org>2022-11-28 10:50:55 -0500
commita99183ed2b8bfc474be16e42dad38d09b06cd69b (patch)
tree35fc9ae882c1e9f60624b7b49a81ab75c4266bcc /doc
parentdc2d963989b96161472b2cd38cef5d1f4851ea34 (diff)
downloadmake-git-a99183ed2b8bfc474be16e42dad38d09b06cd69b.tar.gz
* doc/make.texi: Use $(firstword) rather than $(word 1,)
Diffstat (limited to 'doc')
-rw-r--r--doc/make.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/make.texi b/doc/make.texi
index e3a3ade4..edceee76 100644
--- a/doc/make.texi
+++ b/doc/make.texi
@@ -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