DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

(cvs.info.gz) Regular modules

Info Catalog (cvs.info.gz) Alias modules (cvs.info.gz) modules (cvs.info.gz) Ampersand modules
 
 C.1.2 Regular modules
 ---------------------
 
 `MNAME [ options ] DIR [ FILES... ]'
      In the simplest case, this form of module definition reduces to
      `MNAME DIR'.  This defines all the files in directory DIR as
      module mname.  DIR is a relative path (from `$CVSROOT') to a
      directory of source in the source repository.  In this case, on
      checkout, a single directory called MNAME is created as a working
      directory; no intermediate directory levels are used by default,
      even if DIR was a path involving several directory levels.
 
    For example, if a module is defined by:
 
      regmodule first-dir
 
 then regmodule will contain the files from first-dir:
 
      $ cvs co regmodule
      cvs checkout: Updating regmodule
      U regmodule/file1
      U regmodule/file2
      cvs checkout: Updating regmodule/sdir
      U regmodule/sdir/sfile
      $
 
    By explicitly specifying files in the module definition after DIR,
 you can select particular files from directory DIR.  Here is an example:
 
      regfiles first-dir/sdir sfile
 
 With this definition, getting the regfiles module will create a single
 working directory `regfiles' containing the file listed, which comes
 from a directory deeper in the CVS source repository:
 
      $ cvs co regfiles
      U regfiles/sfile
      $
 
Info Catalog (cvs.info.gz) Alias modules (cvs.info.gz) modules (cvs.info.gz) Ampersand modules
automatically generated byinfo2html