MKBOM(8) — UNIX Programmer’s Manual
NAME
mkbom − Create or modify a bill of materials
SYNOPSIS
mkbom source [ filelist ] bomfile
DESCRIPTION
Mkbom creates or updates an existing bill-of-materials file (see bom(5)). If source is a directory, mkbom generates bill-of-materials information for that directory and adds it to bomfile; if source is a bill-of-materials file, mkbom adds its information to bomfile. If bomfile already exists, the new entries are added without deleting bomfile’s old contents; however, a reference that is in both source and bomfile is replaced with the version from source.
A filelist may be supplied to request that only a subset of the files in source be transferred into bomfile. Filelist should be a text file containing the paths of the entries to transfer, one per line. The paths should be specified relative to the root of source.
The presence of a particular file in filelist implicitly selects all of its parent directories; however, children of directories listed in filelist are not copied unless explicitly listed.
For example, if a text file named myfiles contains
./lib/tmac/tmac.e
./lib/tmac/tmac.r
./lib/term
the command
mkbom /usr myfiles /tmp/newbom.bom
generates a BOM containing reference for the files ./lib/tmac/tmac.e and ./lib/tmac/tmac.r, and the directories ., ./lib, ./term, and ./lib/tmac.
FILES
/usr/lib/NextStep/BaseSystem.bom − BOM for the non-optional parts of NeXTSTEP
/NextLibrary/Receipts/∗.pkg/∗.bom − BOMs for other installed packages
SEE ALSO
7th Edition — January 5, 1993