From owner-freebsd-hackers Thu Feb 1 13:28:29 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA01361 for hackers-outgoing; Thu, 1 Feb 1996 13:28:29 -0800 (PST) Received: from ra.dkuug.dk (ra.dkuug.dk [193.88.44.193]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA01345 for ; Thu, 1 Feb 1996 13:28:18 -0800 (PST) Received: from critter.tfs.com ([193.88.44.194]) by ra.dkuug.dk (8.6.12/8.6.12) with ESMTP id WAA10147; Thu, 1 Feb 1996 22:17:19 +0100 Received: from localhost.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.6.12/8.6.12) with SMTP id WAA01022; Thu, 1 Feb 1996 22:27:37 +0100 X-Authentication-Warning: critter.tfs.com: Host localhost.tfs.com didn't use HELO protocol To: haury@sagem.fr cc: hackers@freebsd.org Subject: Re: CTM: evolutions of ctm In-reply-to: Your message of "Thu, 01 Feb 1996 18:50:37 +0100." <199602011750.SAA05008@sagem.fr> Date: Thu, 01 Feb 1996 22:27:37 +0100 Message-ID: <1020.823210057@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-hackers@freebsd.org Precedence: bulk > Have been using CTM for a while and have changed it a little bit according to > Poul-Henning Kamp's future plans (Handbook 14.5.5 and sources comments). > > These changes seem to work (I'have been testing them for 3 weeks now > with official ctm inputs on my -current tree) - I hope these patches could he lp > the community. They will go right into the source :-) > Evolutions : > > 2 new options > > -b path (relative or absolute) prepend on every files names GOOD! > -V verbose level added to current one ( -V 2 == -v -v and > -V 2 -v == -v -v -v ) ho hum... > *and* > possibility of local modifications to the tree : YEAHHH!!!! > before working on a file , CTM first checks for the existence > of the file #ctm. If this file exists, CTM works on it instead. > > this substitution works for : > > FM : CTM exits if #ctm exists (and no -F) > FS : CTM substitutes the contents of file #ctm > FE, FN : CTM edits #ctm > FR : CTM removes *only* #ctm > AS : CTM changes permissions of #ctm > > side effects : > DR : CTM *does not* check for the existance of #ctm and > the contents of before removing it. > > I didn't find a real good idea to manage dependencies between > and #ctm with make since it seems that make : > > - does not understand suffix rules like > %\#ctm %: > production Hmm, what if we make it .ctm then, would that be better ? > > - does not check any dependencies for Makefile itself before working. No, that would be a hard case... I'll look at your patch as soon as I can! -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.