DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

cdmtConvert(CDMT)


cdmtConvert -- convert list of relative pathnames to CDMT input files

Syntax

cdmtConvert [-f] [-inputDir directory] [-defaultPerms] [-version version]
[-exportMacro macroName] packageCode*.files

Description

cdmtConvert reads in a list of relative pathnames generated with find(C), and converts them to CDMT input files. The developer can use these input files unmodified as input to cdmtParse or customize the input files before using them. For each package, the developer redirects the output of find to a file called packageCode.file, where packageCode is the package code of the package.

The cdmtConvert utility:

To convert a list of filenames to CDMT input files, run find and cdmtConvert from the top-level directory containing the files in the product. For example:

find . -print > /tmp/product.files
cdmtConvert /tmp/product.files

By default, cdmtConvert treats all files in the *.files file as access type SHARED and not exported:

In the example above, cdmtConvert loads in the files /tmp/product.CLIENT and /tmp/product.export, if they exist.

Specify any subpackages by listing them after the parent package and enclosing the entire list in braces. For example:

cdmtConvert {WServer.files WServerExamples.files WServerMan.files}

In this example, the WServer product contains the subpackages WServerExamples and WServerMan. The first package in the list, WServer.files is the component, or root, package. The package code for the root package is used as the component code.

Use braces to group a package and its subpackages. To denote subpackages of subpackages, use braces recursively.

cdmtConvert accepts the following options:


-f
do not prompt user when removing previous files and directories

-inputDir directory
specify the directory to put the generated CDMT input files

-defaultPerms
ignore the file permissions on the actual files. Use default values set in the *.cmpnt file.

-version version
specify the version of the product and components

-exportMacro macroName
specify the name of a macro to precede all export paths. This allows ``late binding'' of the actual export location.

Exit values

If execution was successful, cdmtConvert exits with a value of 0. If execution failed, cdmtConvert exits with a non-zero number.

Files

/usr/bin/cdmtConvert

See also

cdmt.config(CDMT), cdmtParse(CDMT), find(C)

UNRESOLVED XREF-0

Standards conformance

cdmtConvert is not part of any currently supported standard; it is an extension of AT&T System V provided by The Santa Cruz Operation, Inc.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005