Article View: comp.sys.sgi.misc
Article #431Re: gnu make & RCS question
From: Paul D. Smith
Date: Mon, 15 Mar 1999 00:00
Date: Mon, 15 Mar 1999 00:00
28 lines
2247 bytes
2247 bytes
%% georgek@iluvatar.rsc.raytheon.com writes: g> I read the manual (you mean the "info" pages, right?) and I'm still g> missing something. It might be easier to discuss this in context of an g> example (see example files appended). The effect I'm trying for is to g> have gnu make delete the files that it checked out of RCS: not ones g> that already existed. Unfortunately, the .INTERMEDIATE target will g> cause the file to be treated as intermediate (and deleted) regardless g> of whether make checked it out or just found it there. (Which is g> close, but not quite what I'm after.) Previously I wrote that this worked correctly in GNU make 3.74 and was since broken: that's completely untrue. In 3.74, neither the .INTERMEDIATE nor .SECONDARY special targets existed :-/. Oh well. Rather irksome that these aren't listed in the NEWS file for 3.75, where they appear to have been introduced, but there you go. So, I can only conclude they _never_ worked correctly :). -- ------------------------------------------------------------------------------- Paul D. Smith <psmith@baynetworks.com> Network Management Development "Please remain calm...I may be mad, but I am a professional." --Mad Scientist ------------------------------------------------------------------------------- These are my opinions---Nortel Networks takes no responsibility for them.
Technical Details
Message-ID:
<p53e36hdd9.fsf@baynetworks.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7bcq1a$ja6@news.rsc.raytheon.com> <p5k8ws319l.fsf@baynetworks.com> <7c39bi$oal@news.rsc.raytheon.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 100159,5151d4f27c5a166e X-Google-Attributes: gid100159,public X-Google-Thread: 109f73,5151d4f27c5a166e X-Google-Attributes: gid109f73,public From: psmith@baynetworks.com (Paul D. Smith) Subject: Re: gnu make & RCS question Date: 1999/03/15 Message-ID: <p53e36hdd9.fsf@baynetworks.com> X-Deja-AN: 455285464 References: <7bcq1a$ja6@news.rsc.raytheon.com> <p5k8ws319l.fsf@baynetworks.com> <7c39bi$oal@news.rsc.raytheon.com> X-Complaints-To: usenet@spinner.corpeast.baynetworks.com X-Trace: spinner.corpeast.baynetworks.com 921518868 20787 192.32.138.39 (15 Mar 1999 17:27:48 GMT) Organization: Bay Networks, Inc. / Billerica, MA Reply-To: psmith@baynetworks.com NNTP-Posting-Date: 15 Mar 1999 17:27:48 GMT Newsgroups: comp.sys.sgi.misc,gnu.utils.help