On Tue, Apr 09, 2002 at 01:09:27PM +0000, Jay Glanville wrote:

> When a module has an ampersand module as part of it's definition, the
> ampersand module gets included in the root of the other module.  My questio
> is: is there a way to have the ampersand module included in a subdirectory?
> 
> For example, if my modules file looks something like this:
>    amp1  amp1
>    amp2  amp2
>    mod  &amp1 &amp2
> then when I do a:
>    cvs co mod
> I get a directory structure that looks like this:
>    mod
>    mod/amp1
>    mod/amp2
> 
> Now, is there a way to say that module amp1 should be included in module mod
> and be placed in a directory called tools.  For example, when I do a
> checkout of module mod, I get the following directories:
>   mod
>   mod/tools/amp1
>   mod/amp2

The -d option renames the working directory:

| amp1 -d mod/tools/amp1 amp1
| amp2 amp2
| mod  &amp1 &amp2

Module options are described in

   http://www.cvshome.org/docs/manual/cvs_18.html#SEC160

HTH,
Martin

-- 
Marxpitn

_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to