Copyright (C) 2000-2012 |
GNU Info (cvs.info)Regular modulesRegular 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 $ automatically generated by info2www version 1.2.2.9 |