Go to the first, previous, next, last section, table of contents.


31.0 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 15.0 The administrative files, for an introduction. See section AZ.0 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
    


Go to the first, previous, next, last section, table of contents.