Re: make --always-make-but-just-this-file
Basile Starynkevitch <[email protected]> Tue, 10 Mar 2026 15:02:50 +0100
| Newsgroups | gmane.comp.gnu.make.bugs |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2026-03-05 at 22:13 +0800, Dan Jacobson wrote: > I found something make cannot do. >=20 > $ make --always-make file.xyz > remakes the entire tree. >=20 > So make is missing > $ make --always-make-but-just-this-file file.xyz >=20 > Sure, there are workarounds. > One might even edit the Makefile. > But no way to do it more succinctly. GNU make 4 can be configured to be scriptable with Python and/or GNU guile (a Scheme dialect). I guess you could add your script to do so. Regards. --=20 Basile STARYNKEVITCH =20 <[email protected]> 8 rue de la Fa=C3=AFencerie =20 http://starynkevitch.net/Basile/ =20 92340 Bourg-la-Reine =20 https://github.com/bstarynk France =20 https://github.com/RefPerSys/RefPerSys https://orcid.org/0000-0003-0908-5250