[bug #66237] Grouped target dependencies don't function properly in dry-run mode

Dmitry Goncharov <[email protected]>
Newsgroups gmane.comp.gnu.make.bugs
Message-ID <[email protected]>
Follow-up Comment #1, bug #66237 (group make):

I can reproduce this with make-4.3, however, the latest make build from master
behaves correctly here.
$ make --version
GNU Make 4.4.90
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ make-4.3 --version
GNU Make 4.3
Built for x86_64-redhat-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$
$
$ ls
makefile  obj1  obj2  source
$ cat makefile
obj1 &: source; touch $@
obj2: obj1; touch $@
$ touch source
$ make-4.3 obj2
touch obj1
touch obj2
$ touch source
$ make-4.3 -n obj2
touch obj1
$ touch source
$ make -n obj2
touch obj1
touch obj2


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66237>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCZ7gFwwAKCRCqLAuaBUf3
TgTuAPsGDtpvCfpM9tScc4V36de0hFNZRq+vCACPdyJv77eD+gEAsn9Z20wejebz
dKC2Fn+X4Pg4U6zpwC/g4Ywj1zzlpgs=
=dbw8
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.