1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183
|
.\"
.\" cook - file construction tool
.\" Copyright (C) 1997, 1998 Peter Miller;
.\" All rights reserved.
.\"
.\" 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., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
.\"
.\" MANIFEST: input for archive/cook.html
.\"
.ad l
.hy 0
.so version.so
<html>
<head><title>Cook \*(v)</title></head>
<body><h1>
<img src="cook.gif" align=left>
<img src="cook.gif" align=right>
<center>Cook \*(v)</center></h1>
Cook is a tool for constructing files. It is given a set of files to
create, and recipes of how to create them. In any non-trivial program
there will be prerequisites to performing the actions necessary to
creating any file, such as include files. Cook provides a
mechanism to define these.
.br
<p>
When a program is being developed or maintained, the programmer will
typically change one file of several which comprise the program. Cook
examines the last-modified times of the files to see when the
prerequisites of a file have changed, implying that the file needs to be
recreated as it is logically out of date.
.br
<p>
Cook also provides a facility for implicit recipes, allowing users to
specify how to form a file with a given suffix from a file with a
different suffix. For example, to create <tt><i>filename</i>.o</tt>
from <tt><i>filename</i>.c</tt>
.br
<p><ul><li>
Cook has a simple but powerful string-based description language with
many built-in functions. This allows sophisticated filename
specification and manipulation without loss of readability or
performance.
.br
<li>
Cook is able to use fingerprints to supplement file modification
times. This allows build optimization without contorted rules.
.br
<li>
Cook is able to build your project with multiple parallel threads, with
support for rules which must be single threaded. It is possible to
distribute parallel builds over your LAN, allowing you to turn your
network into a virtual parallel build engine.
.br
<li>
Cook can be configured with an explicit list of primary source files.
This allow the dependency graph to be constructed faster by not going
down dead ends, and also allows better error messages when the graph
can't be constructed. This requires an accurate source file manifest.
.br
</ul><p>
Cook runs on almost any flavor of UNIX. The source distribution is self
configuring using a GNU Autoconf generated configure script.
.br
<hr>
See the <a href="cook-\*(v).README">README</a> file for a description
of the new features and bug-fixes in this release. This is also in the
<a href="cook-\*(v).rm.ps.gz">Cook Reference Manual</a>, along with the
build and installation instructions, and all of the manual pages.
.br
<hr><h2><center>
Year 2000 Status
</center></h2>
Cook does not suffer from Year 2000 problems.
<ul>
<li>
Cook stores dates internally in Unix style (<i>i.e.</i> seconds
offset), so internal storage of times and dates does not suffer from
any Y2K problems.
<li>
Cook always uses the ANSI C standard <tt>strftime</tt> function to display
times and dates. (This assumes that your vendor has supplied a compliant
<tt>strftime</tt>.) This means that displaying dates does not assume
fixed field widths, nor will it display the year 2000 as ``100''.
<li>
When a user enters dates, they may sprecify years with an explict century.
If a user enters a year with an implicit century, the closest is assumed.
</ul>
.br
<hr><h2><center>
Files for Download
</center></h2>
<center><table>
<tr>
<th>File Name</th>
<th width="60%">Description</th>
</tr>
<tr>
<td><a href="cook-\*(v).README"><tt>cook-\*(v).README</tt></a></td>
<td>The <tt>README</tt> file from the tar distribution.</td>
</tr>
<tr>
<td><a href="cook-\*(v).lsm"><tt>cook-\*(v).lsm</tt></a></td>
<td>Brief description in
.nf
<a href="ftp://sunsite.unc.edu/pub/Linux/LSM-TEMPLATE">LSM</a>
.fi
format.</td>
</tr>
<tr>
<td><a href="cook-\*(v).spec"><tt>cook-\*(v).spec</tt></a></td>
<td>RedHat package manager specification file (<a href="http://www.rpm.org/">RPM</a>)</td>
</tr>
<tr>
<td><a href="cook-\*(v).tar.gz"><tt>cook-\*(v).tar.gz</tt></a></td>
<td>The complete source.</td>
</tr>
<tr>
<td><a href="cook-\*(v).rm.ps.gz"><tt>cook-\*(v).rm.ps.gz</tt></a></td>
<td>Cook Reference Manual in PostScript format.</td>
</tr>
<tr>
<td><a href="cook-\*(v).ug.ps.gz"><tt>cook-\*(v).ug.ps.gz</tt></a></td>
<td>Cook User Guide in PostScript format.</td>
</tr>
</table></center>
.br
<p>
Cook is also available from
<a href="ftp://sunsite.unc.edu/pub/Linux/">the Linux archives</a>
in the
<a href="ftp://sunsite.unc.edu/pub/Linux/devel/make/">
<tt>devel/make</tt></a>
directory.
.br
<hr>
<a href="README.html">
<img src="pmiller.gif" align=right>
</a>
Cook is written and owned by
<a href="mailto:millerp@canb.auug.org.au">
Peter Miller <millerp@canb.auug.org.au>
</a>
and is freely distributable under the terms and conditions of the
<a href="ftp://prep.ai.mit.edu/pub/gnu/GPL">GNU GPL</a>.
<p>
Cook is developed using <a href="aegis.html">Aegis</a>, a transaction
based software configuration management package.
<p>
There is more <a href="README.html">Software by Peter Miller</a>
at his home page.
.br
<hr>
This page has been accessed approximately
.nf
<img src="http://www.canb.auug.org.au/cgi-bin/Count.cgi?df=millerp_cook_\*(v)&ft=0&tr=Y&trgb=black&pad=0">
.fi
times since
.ds MO1 Jan
.ds MO2 Feb
.ds MO3 Mar
.ds MO4 Apr
.ds MO5 May
.ds MO6 Jun
.ds MO7 Jul
.ds MO8 Aug
.ds MO9 Sep
.ds MO10 Oct
.ds MO11 Nov
.ds MO12 Dec
\n[dy]-\*[MO\n[mo]]-\n[yr].
</body></html>
|