klndir(1)

PROGRAM
klndir - Used to create a symbolicly linked source tree

SYNTAX

klndir

-source
    specifies the path to the directory of source files

-dest
    specifies the path to the directory of dest files

[-V]
    Gives the version for klndir

[-U]
    Gives the usage for klndir

[-P]
    Prompts for command line options

[-A [file1]]
    Creates the answer file called klndir.ans or file1

[-a [file1]]
    Uses klndir.ans or file1 as the answer file

DESCRIPTION

klndir is a utility program for creating a symbolicly linked source tree. The user specifies the directory path to the original location of the source files (-source) and the directory path to the destination location for those files (-dest). The destination path will contain symbolic links to the location of the source code (*.c, *.h, and *.f files). The user is able to execute klndir any number of times with the same parent and child source trees. Note that this utility should not be used by general users -- it is intended to be used by system administrators installing khoros.

PLEASE NOTE that when specifying paths for klndir, you MUST specify the complete paths. That is, specify a path that is common to both the machine you are installing from and the machine(s) that the system will be installed on. For example,

CORRECT usage -
klndir -source /research/devel/khoros/src... -dest /foo/devel/khoros/src...
WRONG usage -
klndir -source ~khoros/src...  -dest ~khoros/src...

Here, ~khoros may expand to different paths depending upon where a machines partition is mounted. If you have made links using this method, the links will appear to have been made, but when you try to access the file(s), they will not exist. If this occurrs, remove the links and rerun klndir using the complete paths.

klndir makes the symbolic links to the *.c, *.h, *.f source files. It copies over the source Makefile (since the Makefile is machine dependant), and it makes symbolic links to the Imakefile.

REQUIRED ARGUMENTS

-source
    type: string
    desc: specifies the path to the directory of source files

-dest
    type: string
    desc: specifies the path to the directory of dest files

OPTIONAL ARGUMENTS
none

EXAMPLES
% klndir -source /research/khoros/source/vipl/arith_binary/vadd -dest /research/khoros/srcmach/srcdecmips/vipl/arith_binary/vadd

SEE ALSO
intro(1), verror(3), vgparms(3), vutils(3) vsrcconf(1), make(1), vgparm(1)

RESTRICTIONS
None

COPYRIGHT
Copyright 1991, University of New Mexico. All rights reserved.