File 'support/lsm.tcl' (part of 'Makedist_Support')


Home | Packages | Files | Procedures | Keywords | External packages


Written by
Andreas Kupries
Description
Rewrite the DESCRIPTION into a LSM file.
Depends on
Tcl, Pool_Base
Keywords
prepare support, lsm generation

::makedist::support::fmtForSite (fh prefix urls)

Generates a properly formatted site-entry.
Notes: Internal procedure.
Argument: fh Handle of the file to write to.
Argument: prefix Text of the entry to generate, already contains the proper amount of spaces at the end.
Argument: urls List of urls to place into the entry.

::makedist::support::fmtKeyData (fh text key)

Formats the data associated to key, then inserts it as LSM entry into the file denoted by fh.
Notes: Internal procedure.
Argument: fh Handle of the file to write to.
Argument: text Name of the generated entry, without spaces and :.
Argument: key Index into 'mDesc', to get at the data to be written.

::makedist::support::fmtUrls (fh prefix urls)

Alternative to ::makedist::support::fmtForSite. No acrobatics to satisfy the LSM rules, just listing the given urls.
Notes: Internal procedure, currently not used
Argument: fh Handle of the file to write to.
Argument: prefix Text of the entry to generate, already contains the proper amount of spaces at the end.
Argument: urls List of urls to place into the entry.

::makedist::support::hasValue (key)

A shorthand checking wether mDesc(key) contains data or not.
Notes: Internal procedure
Argument: key Name of the key to check for.

mGenerateLSM ()

Takes the information in 'mDesc' and generates a LSM file from it. LSM = Linux Software Map. Part of the file is automatically filled.


Generated by AutoDoc 2.1 at 06/05/1999, invoked by Andreas Kupries