anyinit – create new working directory for any build system from installed template.

Synopsis

anyinit DIRECTORY
anyinit --help|--version

Description

anyinit creates new directory DIRECTORY to work with any(1) build system.

It copies the contents from one of the paths (search goes in order):

HOME/.etc/any/workdir/
PREFIX/lib/any/workdir/
PREFIX/share/any/workdir/
PREFIX is the place where any engine had been installed. By default, it's /usr. Thus the according paths to search will be:
/usr/lib/any/workdir/
/usr/share/any/workdir/

anyinit detects the prefix automatically by the location of own executable. So if anyinit is launched as /usr/local/bin/anyinit, the prefix will automatically become /usr/local.

anyinit does not remove given directory DIRECTORY before copying. So it may be initialised several times.

Examples

    anyinit workdir

The result will be:

    ./workdir/

Options

--version
Print version and exit with 0 code.
--help
Print short help description and exit with 0 code.

See also

any-guide(7), any(1)