Updated to go with newer version of gnulib.
[findutils.git] / README-CVS
blobf5f62891039b1f5261e3369516cb1ce2b786b98d
1 This file describes how to build findutils starting from a set of code
2 checked out of CVS, rather than from a released source distribution.
4 1. Prerequisites
5  * A C compiler
6  * GNU Autoconf version 2.57 or later (earlier versions *may* work)
7  * GNU Automake version 1.7 or later (earlier versions *may* work)
8  * CVS
10 2. Obtain a copy of Gnulib
12  To obtain a copy of the gnulib library, check it out via anonymous CVS
13  from the GNU CVS server.   Make sure you check it out into a separate 
14  directory, away from the findutils sources.
16     CVS_RSH=ssh
17     export CVS_RSH
18     cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/gnulib co gnulib
20 3. Generate a gnulib installation within the fileutils source tree
22  Change your working directory to the findutils source directory (that 
23  is, the directory containing this file).   Then run the following 
24  command:-
26     sh import-gnulib.sh   <name of the directory containing gnulib>
28 The above command may result in some errors from autoconf and
29 automake.  These are benign unless they occur again in step 5
30 so don't worry about them unless you see them both times.
32 4. Generate the configure scripts and Makefile.in files.
34     aclocal 
35     autoheader
36     autoconf
37     automake --add-missing --copy
39 5. Run "configure" and "make" in the normal way.