| Version Management with CVS - the CVS manual by Per Cederqvist et al. Paperback (6"x9"), 216 pages, 8 figures ISBN 0954161718 RRP £19.95 ($29.95) |
3.2 Defining the module
The next step is to define the module in the ‘modules’ file. This is not strictly necessary, but modules can be convenient in grouping together related files and directories.
In simple cases these steps are sufficient to define a module.
-
Get a working copy of the modules file.
$ cvs checkout CVSROOT/modules $ cd CVSROOT
-
Edit the file and insert a line that defines the module. See section 16.7 The administrative files, for an introduction. See section B.1 The modules file, for a full
description of the modules file. You can use the
following line to define the module ‘tc’:
tc yoyodyne/tc
-
Commit your changes to the modules file.
$ cvs commit -m "Added the tc module." modules
-
Release the modules module.
$ cd .. $ cvs release -d CVSROOT
| ISBN 0954161718 | Version Management with CVS - the CVS manual | See the print edition |