X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=docs%2Fgoals.pod;fp=docs%2Fgoals.pod;h=eca8876bd2077593404c63f8d0a1da8dcfb403c1;hb=00dfdab0481c531b8608a157dc4c4991f319d7f7;hp=0000000000000000000000000000000000000000;hpb=881b2e9b7bad0da8f44418e9e6558710db5ce690;p=goals.git diff --git a/docs/goals.pod b/docs/goals.pod new file mode 100644 index 0000000..eca8876 --- /dev/null +++ b/docs/goals.pod @@ -0,0 +1,102 @@ +=encoding utf8 + +=head1 NAME + +goals - an experimental tool that generalizes "make" + +=head1 SUMMARY + + goals ['TARGET'] ['VAR=VALUE'] + [-C|--directory DIRECTORY] [-d] [-f|--file Goalfile] + [-I|--include DIRECTORY] [--no-prelude] + + goals --help + + goals -v|--version + +=head1 DESCRIPTION + + + +=head1 OPTIONS + +=over 4 + +=item B<-h> + +=item B<--help> + +Display short help summary and exit. + +=item B<-C> DIRECTORY + +=item B<--directory> DIRECTORY + +When goals starts up, and before reading the initial F or +doing any other processing, goals changes directory. + +=item B<-d> + +Enable very verbose debugging. + +=item B<-f> GOALFILE + +=item B<--file> GOALFILE + +Set the name of the initial goal file to read. The default name is +F. + +Note that if a relative path is given here, it is relative to the +directory specified with the I<-C> option, or to the current directory +if I<-C> was not used. + +=item B<-I> DIRECTORY + +=item B<--include> DIRECTORY + +Specify an include directory, used when including goal files using the +C directive. You can use this option multiple times. Later +directories have priority over earlier ones. There is also an +implicit C<%stdlib> directory which is used for prelude files (see +L). + +Note that if a relative path is given here, it is relative to the +directory specified with the I<-C> option, or to the current directory +if I<-C> was not used. + +=item B<--no-prelude> + +Do not load F from C<%stdlib>. The default is that the +prelude is always loaded automatically before any initial goal file +(but you can redefine prelude definitions in your goal file if you +want). + +=back + +=head1 SEE ALSO + +L, L, L. + +=head1 AUTHORS + +Richard W.M. Jones + +=head1 COPYRIGHT + +Copyright (C) 2020 Richard W.M. Jones + +Copyright (C) 2020 Red Hat Inc. + +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 +MERCHANTABILITY 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., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.