Re: [HACKERS] Removing derived files from CVS

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: geek+(at)cmu(dot)edu
Cc: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, pgsql-hackers(at)postgreSQL(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: [HACKERS] Removing derived files from CVS
Date: 1999-03-19 18:45:07
Message-ID: Pine.BSF.4.05.9903191444430.379-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 19 Mar 1999 geek+(at)cmu(dot)edu wrote:

> Then <scrappy(at)hub(dot)org> spoke up and said:
> > Agreed here too...someone at one point mentioned that there might be a
> > way, inside of CVS, to have it auto-generate these files as its being
> > checked out (ie. if file is configure.in, run autoconf)...
>
> >From the info file:
> Module options
> --------------
>
> Either regular modules or ampersand modules can contain options,
> which supply additional information concerning the module.
> [snip]
> `-i PROG'
> Specify a program PROG to run whenever files in a module are
> committed. PROG runs with a single argument, the full pathname of
> the affected directory in a source repository. The `commitinfo',
> `loginfo', and `verifymsg' files provide other ways to call a
> program on commit.
>
> `-o PROG'
> Specify a program PROG to run whenever files in a module are
> checked out. PROG runs with a single argument, the module name.
>
> >From my reading, it looks like the easiest thing to do is set up
> commit rules such that committing gram.y automatically generates
> gram.c. It looks like it might be difficult to have gram.c generated
> completely "on the fly" and then passed to the CVS client.

Can you provide an exampmle of using/doing this? It sounds like the
better solution of them all, if it can be done this way..

Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-03-19 18:56:32 Re: [HACKERS] portability patch
Previous Message The Hermit Hacker 1999-03-19 18:44:11 Re: [HACKERS] Re: Developers Globe (FINAL)