apply-config - Process input template files based upon configuration settings. |
apply-config - Process input template files based upon configuration settings.
apply-config [options] [dir ...]
This program processes input template files and expands variables
referenced to values specified in <mharc-root>/lib/config.sh
.
Template files are designated by the .in
filename extentions. For a
given file, if file.in.dist
exists and file.in
does not,
file.in.dist
will be copied to file.in
before processing.
Variable references in template files are denoted as follows:
@@VARIABLE_NAME@@
If the specified variable name is defined, the reference will be replaced with the empty string.
Any non-option arguments are treated as directories to recursively
scan for template files. If no directories are specified, then
$SW_ROOT
is used as defined in <mharc-root>/lib/config.sh
.
.in
version. This option is useful
to clean up all files generated from templates.
.in
version and remove all .in
files that have a .in.dist
version. This option is useful to
clean up all files for generating a distribution bundle.
WARNING: Use this option with care since it will delete all
customized versions of .in
templates. This option is mainly
for use by mharc developers.
-verbose
.
<mharc-root>/lib/config.sh
$Id: apply-config,v 1.15 2002/10/17 03:14:31 ehood Exp $
Earl Hood, earl@earlhood.com
This program is part of the mharc archiving system and comes with ABSOLUTELY NO WARRANTY and may be copied only under the terms of the GNU General Public License, which may be found in the mhArc distribution.
apply-config - Process input template files based upon configuration settings. |