mkclassproto(N)
NAME
mkclassproto − build a proto area for class action script testing
SYNOPSIS
mkclassproto −nnewproto −ssrcproto −ppkgdir −aarch [ −v ]
DESCRIPTION
mkclassproto builds a sparsely populated proto area for use with the chkclasses test script. The new proto area will only contain the files found in the editable classes. The proto area may be used for either a base or compare directory structure.
A list of files in the editable classes is built from the package definition tree and architecture specified with the -p and -a options. These files are copied from the source proto and installed in the new proto under the same path. All necessary directories are created.
If the source and destination paths in the prototype file differ, the source path is used.
OPTIONS
−nnewproto
Root path of the proto area to be created.
−ssrcproto Root directory of the source proto area.
−ppkgdir Root directory of the package definition tree.
−aarch Specify the architecture. Different platforms of the same architecture are translated to the base architecture. Thus sun4, sun4c, sun4m, etc. are translated to sparc.
−v Verbose. Show the directories created and the files copied.
SEE ALSO
chkclasses(N), chkclassproto(N), syncprotos(N)
CAVEATS
In the ON consolidation, several of the files contained within the editable classes are installed in the proto build area with restricted read permissions. mkclassproto should be run as root to avoid any permission denied problems. To avoid similar problems when running chkclasses , files are given group and world read permission when they are copied.
SunOS WorkShop_4.2 — Last change: 09 Mar 1994