MKDIST(1) MKDIST(1) NAME mkdist, insdist - make and install distribution packages SYNOPSIS /usr/lib/dist/mkdist [-v] [-D old=new] [-[Xx] command] files ... /usr/lib/dist/insdist [-v] [-D old=new] [-R rootdir] DESCRIPTION Mkdist packages the named files into a distribution package on the standard output. A distribution package is an ordi- nary tar(1) file, containing the files of the package as well as installation information for use by insdist. The -D option to both mkdist and insdist allows prefix sub- stitution to be performed on pathnames going into the dis- tribution. (Mkdist arranges for all file names in the dis- tribution to be absolute path names, by prepending the cur- rent directory to any relative pathname arguments.) At most one -D option will be applied to any name in the distribu- tion, so there are no substitution loops. If multiple -D options might match a given file name, the leftmost one from the command line is chosen. The -R option (insdist only) additionally specifies that all files are to be unpacked relative to the given root directory. The -X and -x options to mkdist allow a command to be given that will be executed when the distribution is unpacked by insdist . These options are identical, except that pathname prefix substitution from -D options will be applied to a command specified in a -X option. The -v option turns on verbose output describing what's going on. SEE ALSO tar(1) BUGS The -v option should show more.