NAME

lcfg-skeleton - Create skeleton for new LCFG component


SYNOPSIS

lcfg-skeleton


DESCRIPTION

The lcfg-skeleton script prompts for basic information and creates a set of skeleton files as a staring point for writing a new LCFG component:

  Name of component [mycomp] ?
  One line description [] ?
  Add to CVS (yes/no) [no] ?
  Perl (pl) or Shell (sh) [sh] ?
  Component author [Paul Anderson] ?
  Author email [dcspaul@inf.ed.ac.uk] ?
  Platforms [Fedora3, Solaris9, Fedora5, Fedora6, Scientific5] ?
  Include regression test files (yes/no) [yes] ?
  Restart component on RPM update (yes/no) [yes] ?

Hitting RETURN will use the default value shown in []. The responses to the question are stored in the file skeleton.values and will be used as the defaults next time the command is run.

If the new component is to be added automatically to the CVS, then the CVSROOT and CVS_RSH must be set correctly before running lcg-skeleton.


FILES

A directory is creaetd in the current directory with the supplied component name. It will contain the following files:

  test
    data
      test001.log
    resources
      test001
    results
      test001
    tests
      test001
    log
    run.cin
  mycomp.def.cin
  mycomp.pod.cin
  mycomp.cin
  ChangeLog
  Makefile
  README
  README.BUILD
  config.mk
  specfile
  test.mk


PLATFORMS

Fedora3, Solaris9, Fedora5, Fedora6, Scientific5


AUTHOR

Paul Anderson <dcspaul@inf.ed.ac.uk>