.\" $HeadURL$ $LastChangedRevision$ .\" .pso ade-config --format=man .so \*[ade_include_prefix]/ade.man .TH ADEINST 1 "ADE_APP_TOKEN_RELEASE_DATE_MAN" .SH NAME adeinst \- install program .br .ne 5 .SH SYNOPSIS .B adeinst \*[ade_standard_synopsis_component] [ .B \-n | .B \-\-simulate ] [ .B \-m .I mode | .B \-\-perms=\fImode\fR ] [ .B \-o .I owner | .B \-\-owner=\fIowner\fR ] [ .B \-g .I group | .B \-\-group=\fIgroup\fR ] { .I srcfile dstfile | .I srcfile \fR...\fI dstdir | .B \-D \fI dir \fR... } .br .ne 5 .SH DESCRIPTION .B Adeinst is an .B install\fR(1)-like program for installing programs and other files into target directories. .PP It operates in one of three modes corresponding to the following arguments: .TP 25 .I srcfile dstfile The single file .I srcfile is copied to .I dstfile\fR. Any necessary leading directories will be created. .TP .I srcfile \fR ... \fI dstfile All the specified source files are copied to the desination directory, which must already exist. .TP .B \-D \fIdir\fR ... All the specified directories, and any missing leading directories, are created. .br .ne 5 .SH CONFIGURATION None. .br .ne 5 .SH OPTIONS \*[ade_standard_options_component] .TP .B \-g \fIgroup\fR, \fB\-\-group=\fIgroup\fR Any files or directories created will belong to the specified group. This does not affect directories which already exist. .TP .B \-m \fImode\fR, \fB\-\-perms=\fImode\fR Any files created will have the specified mode. Any directories created will have their mode set to .I mode plus the corresponding execute bits set, which is necessary for directories. This does not affect directories which already exist. .TP .B \-n\fR, \fB\-\-simulate\fR Operate in simulate mode; no files or directories are written or created. .TP .B \-o \fIowner\fR, \fB\-\-owner=\fIowner\fR Any files or directories created will belong to the specified user. This does not affect directories which already exist. .br .ne 5 .SH EXIT STATUS On success .B adeinst returns zero. On failure it returns non-zero and displays a diagnostic message. .br .ne 5 .SH FILES None. .br .ne 5 .SH ENVIRONMENT VARIABLES None. .br .ne 5 .SH EXAMPLES The following command would install a program \(oqfoo' in /usr/local with a single file under the name \(oqbar' with setgid \(oqmail': .IP .nf .fam C .B adeinst -o mail -m 1755 foo /usr/local/bar .fam T .fi .br .ne 5 .SH CAVEATS None. .br .ne 5 .SH STANDARDS This manual page documents version ADE_APP_TOKEN_RELEASE_ID of .B adeinst\fR. .br .ne 5 .SH SEE ALSO install(1), ade-config(1) .br .ne 5 .SH AUTHOR ADE_APP_TOKEN_AUTHOR_NAME .br .ne 5 .SH COPYRIGHT & DISTRIBUTION POLICY Copyright (C) 1995-ADE_APP_TOKEN_RELEASE_YEAR ADE_APP_TOKEN_AUTHOR_NAME .PP 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. .PP This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. .PP 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.