ADEINST(1)                  General Commands Manual                 ADEINST(1)



NAME
       adeinst - install program

SYNOPSIS
       adeinst  [ -V | --version ] [ -v | --verbose | -d level | --debug=level
       ] [ -h | --help ] [ -p | --paths ] [ -n | --simulate ] [ -n  |  --simu-
       late  ] [ -m mode | --perms=mode ] { srcfile dstfile | srcfile ... dst-
       dir | -D  dir ...  }

DESCRIPTION
       Adeinst is an install(1)-like program for installing programs and other
       files into target directories.

       It  operates in one of three modes corresponding to the following argu-
       ments:

       srcfile dstfile          The single file srcfile is copied to  dstfile.
                                Any necessary leading directories will be cre-
                                ated.

       srcfile  ...  dstdir     All the specified source files are  copied  to
                                the  desination  directory, which must already
                                exist.

       -D dir ...               All the specified directories, and any missing
                                leading directories, are created.

CONFIGURATION
       None.

OPTIONS
       -d level, --debug=level  Determines  how  verbose this program will be.
                                The message types displayed for the  different
                                values  of level are as follows: 0 displays no
                                messages; 1 displays only errors,  2  displays
                                errors  and warnings; 3 displays errors, warn-
                                ings and informational messages; higher values
                                display  errors,  warnings, informational mes-
                                sages and various messages intended for debug-
                                ging.  The default is 2.

       -h, --help               Displays a brief usage message.

       -p, --paths              Lists  the  compiled-in paths of various files
                                and directories that this program  uses.   -n,
                                --simulate  Some  external  commands that this
                                program runs may be displayed rather than  ac-
                                tually  executed.   BEWARE: different programs
                                implement different levels of  simulation;  so
                                this  option  may work perfectly; on the other
                                hand it may do nothing at all!

       -v, --verbose            Equivalent to -d 3.

       -V, --version            Prints the program's version number and exits.

       -m mode, --perms=mode    Any files  created  will  have  the  specified
                                mode.  Any directories created will have their
                                mode set to mode plus the  corresponding  exe-
                                cute bits set, which is necessary for directo-
                                ries.  This does not affect directories  which
                                already exist.

       -n, --simulate           Operate in simulate mode; no files or directo-
                                ries are written or created.

EXIT STATUS
       On success adeinst returns zero. On failure  it  returns  non-zero  and
       displays a diagnostic message.

FILES
       None.

ENVIRONMENT VARIABLES
       None.

EXAMPLES
       The  following command would install a program 'foo' in /usr/local with
       a single file under the name 'bar' with setgid 'mail':

              adeinst -m 755 foo /usr/local/bar

CAVEATS
       None.

STANDARDS
       This manual page documents version 3.0.4 of adeinst.

SEE ALSO
       install(1), ade-config(1)

AUTHOR
       Alexis Huxley <alexishuxley@gmail.com>

COPYRIGHT & DISTRIBUTION POLICY
       Copyright (C) 1995-2024 Alexis Huxley

       This program is free software; you can redistribute it and/or modify it
       under  the  terms of the GNU General Public License as published by the
       Free Software Foundation; either version 2 of the License, or (at  your
       option) any later version.

       This  program  is  distributed  in the hope that it will be useful, but
       WITHOUT ANY  WARRANTY;  without  even  the  implied  warranty  of  MER-
       CHANTABILITY  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
       Public License for more details.

       You should have received a copy of the GNU General Public License along
       with this program; if not, write to the Free Software Foundation, Inc.,
       675 Mass Ave, Cambridge, MA 02139, USA.



                                  27 Dec 2024                       ADEINST(1)