Date: Thu, 01 Feb 1996 22:27:37 +0100 From: Poul-Henning Kamp <phk@critter.tfs.com> To: haury@sagem.fr Cc: hackers@freebsd.org Subject: Re: CTM: evolutions of ctm Message-ID: <1020.823210057@critter.tfs.com> In-Reply-To: Your message of "Thu, 01 Feb 1996 18:50:37 %2B0100." <199602011750.SAA05008@sagem.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <basedir> path (relative or absolute) prepend on every files names GOOD! > -V <level> 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 <name>, CTM first checks for the existence > of the file <name>#ctm. If this file exists, CTM works on it instead. > > this substitution works for : > > FM : CTM exits if <file>#ctm exists (and no -F) > FS : CTM substitutes the contents of file <file>#ctm > FE, FN : CTM edits <file>#ctm > FR : CTM removes *only* <file>#ctm > AS : CTM changes permissions of <file>#ctm > > side effects : > DR : CTM *does not* check for the existance of <dir>#ctm and > the contents of <dir> before removing it. > > I didn't find a real good idea to manage dependencies between > <file> and <file>#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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1020.823210057>