|
From: | Paul Eggert |
Subject: | Re: makefile rules |
Date: | Tue, 21 Dec 2021 17:21:17 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 |
On 12/21/21 12:23, Jim Meyering wrote:
Even with `mv -f` support, one must still either remove $@-t or otherwise ensure that it is writable. The read-only temporary may have been left behind from a preceding, interrupted run of the same rule.
Yes, that's the "(though not perfect)" I alluded to.I just found out about Kevin Ryde's do-not-edit package, which tells Emacs not to edit files with a "DO NOT EDIT" line. Have you tried it?
https://user42.tuxfamily.org/do-not-edit/
[Prev in Thread] | Current Thread | [Next in Thread] |