5 goals - an experimental tool that generalizes “make”
9 goals ['TARGET'] ['VAR=VALUE']
10 [-C|--directory DIRECTORY] [-d] [-f|--file Goalfile]
11 [-I|--include DIRECTORY] [--no-prelude]
19 Goals is a command line tool similar in concept to L<make(1)> — a way
20 to express dependencies between tasks that need to be done. Goals
21 generalizes make so it can express dependencies between not just files
22 but anything such as URLs, remote files, remote builds and more. It
23 is also very extensible using only shell scripting, and it fixes many
24 problems that make suffers from.
26 This manual page documents the command line tool and options.
28 There is an introduction and tutorial on writing goal files:
31 There is also a reference manual: L<goals-reference(5)>.
41 Display short help summary and exit.
45 =item B<--directory> DIRECTORY
47 When goals starts up, and before reading the initial F<Goalfile> or
48 doing any other processing, goals changes directory.
52 Enable very verbose debugging.
56 =item B<--file> GOALFILE
58 Set the name of the initial goal file to read. The default name is
61 Note that if a relative path is given here, it is relative to the
62 directory specified with the I<-C> option, or to the current directory
63 if I<-C> was not used.
67 =item B<--include> DIRECTORY
69 Specify an include directory, used when including goal files using the
70 C<include> directive. You can use this option multiple times. Later
71 directories have priority over earlier ones. There is also an
72 implicit C<%stdlib> directory which is used for prelude files (see
73 L<goals-reference(5)>).
75 Note that if a relative path is given here, it is relative to the
76 directory specified with the I<-C> option, or to the current directory
77 if I<-C> was not used.
81 Do not load F<prelude.gl> from C<%stdlib>. The default is that the
82 prelude is always loaded automatically before any initial goal file
83 (but you can redefine prelude definitions in your goal file if you
90 L<Goalfile(5)>, L<goals-reference(5)>, L<make(1)>.
94 Richard W.M. Jones <rjones@redhat.com>
98 Copyright (C) 2020 Richard W.M. Jones
100 Copyright (C) 2020 Red Hat Inc.
102 This program is free software; you can redistribute it and/or modify
103 it under the terms of the GNU General Public License as published by
104 the Free Software Foundation; either version 2 of the License, or
105 (at your option) any later version.
107 This program is distributed in the hope that it will be useful,
108 but WITHOUT ANY WARRANTY; without even the implied warranty of
109 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
110 GNU General Public License for more details.
112 You should have received a copy of the GNU General Public License along
113 with this program; if not, write to the Free Software Foundation, Inc.,
114 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.