- publishing free software manuals
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)

Get a printed copy>>>

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.

  1. Get a working copy of the modules file.
    $ cvs checkout CVSROOT/modules
    $ cd CVSROOT
  2. 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
  3. Commit your changes to the modules file.
    $ cvs commit -m "Added the tc module." modules
  4. Release the modules module.
    $ cd ..
    $ cvs release -d CVSROOT
ISBN 0954161718Version Management with CVS - the CVS manualSee the print edition