🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #571

Survey: GNU Make RCS rules

#571
From: Roland McGrath
Date: Fri, 01 Dec 1989 00:36
34 lines
1536 bytes
I would like to know what GNU Make's built-in rules for RCS should look like.
I am interested in the opinions and experiences of people who use RCS and know
what they are talking about.  If you don't fall into this category, please
don't respond.

The issue is when to overwrite existing RCS working files.

The current rules (as of version 3.57) do:

	test -f $@ || $(CO) $(COFLAGS) $< $@

This will never overwrite an existing working file.

It has been suggested that this be changed to:

	test -w $@ || $(CO) $(COFLAGS) $< $@

This would overwrite working files that are read-only (i.e., not locked).

It has also been suggested that this be done, but that it also copy the
modification time of the RCS file to the working file.  Since there is no
utility universally available to copy modification times, I am disinclined to
try this.


Please tell me what you think the rule should be, and why.


Mail your responses to roland@ai.mit.edu.  Please DO NOT post them to
bug-gnu-utils/gnu.utils.bug.


Thanks,
Roland McGrath
Technical Details
Message-ID: <8912010036.AA00849@homer.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!GINGER.BERKELEY.EDU!mcgrath%homer.Berkeley.EDU

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!GINGER.BERKELEY.EDU!mcgrath%homer.Berkeley.EDU
From: mcgrath%homer.Berkeley.EDU@GINGER.BERKELEY.EDU (Roland McGrath)
Newsgroups: gnu.utils.bug
Subject: Survey: GNU Make RCS rules
Message-ID: <8912010036.AA00849@homer.Berkeley.EDU>
Date: 1 Dec 89 00:36:25 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: roland@ai.mit.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 34