🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sgi.misc
Article #430

Re: gnu make & RCS question

#430
From: Paul D. Smith
Date: Fri, 12 Mar 1999 00:00
34 lines
2502 bytes
%% georgek@iluvatar.rsc.raytheon.com writes:

  g>    I read the manual (you mean the "info" pages, right?)

Yes.  Well, of course the original is the make.texinfo file, and texinfo
can be turned into many different output formats, including PostScript
and HTML, in addition to "info", but... yes :).

  g> and I'm still missing something. It might be easier to discuss this
  g> in context of an example (see example files appended). The effect
  g> I'm trying for is to have gnu make delete the files that it checked
  g> out of RCS: not ones that already existed. Unfortunately, the
  g> .INTERMEDIATE target will cause the file to be treated as
  g> intermediate (and deleted) regardless of whether make checked it
  g> out or just found it there.

Ouch.  You're right.

This is a bug in GNU make.  It seems that when the .SECONDARY feature
was added in GNU make 3.75 it broke a lot of the functionality of
.INTERMEDIATE (and .SECONDARY didn't work correctly either).  Oddly
enough, no one's noticed them before now.

I've so far fixed two .INTERMEDIATE/.SECONDARY bugs for the next release
of GNU make; this will make a third (once I fix it ;).  Sigh.

Well, you could drop back to GNU make 3.74 :-/.

-- 
-------------------------------------------------------------------------------
 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: <p5ww0ns1va.fsf@baynetworks.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <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: 109f73,5151d4f27c5a166e
X-Google-Attributes: gid109f73,public
X-Google-Thread: 100159,5151d4f27c5a166e
X-Google-Attributes: gid100159,public
From: psmith@baynetworks.com (Paul D. Smith)
Subject: Re: gnu make & RCS question
Date: 1999/03/12
Message-ID: <p5ww0ns1va.fsf@baynetworks.com>
X-Deja-AN: 454088437
References: <7bcq1a$ja6@news.rsc.raytheon.com> <p5k8ws319l.fsf@baynetworks.com> <7c39bi$oal@news.rsc.raytheon.com>
To: georgek@iluvatar.rsc.raytheon.com
X-Complaints-To: usenet@spinner.corpeast.baynetworks.com
X-Trace: spinner.corpeast.baynetworks.com 921217163 25039 192.32.138.39 (12 Mar 1999 05:39:23 GMT)
Organization: Bay Networks, Inc. / Billerica, MA
Reply-To: psmith@baynetworks.com
NNTP-Posting-Date: 12 Mar 1999 05:39:23 GMT
Newsgroups: comp.sys.sgi.misc,gnu.utils.help