Application Packaging Developer's Guide

Providing a Search Path for the pkgmk Command

If the source location for package objects is different than their destination location, and you do not want to use the path1=path2 format as described in A Brief Word on an Object's Source and Destination Locations, then you can use the !search command in the prototype file. For example, if you created a directory, pkgfiles, in your home directory, and it contains all of your information files and installation scripts, you can specify that that directory be searched when the package is built with the pkgmk command.

The command in the prototype file would look like:

!search /home-dir/pkgfiles

Note –

Search requests do not span to included files. In addition, a search is limited to the specific directories listed, and will not search recursively.