Corrected the instructions for getting gnulib via CVS.
[findutils.git] / README-CVS
blobc17bd31730bdf01b36c534c6bfc643bca29cf3bd
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. Remove the "@FNMATCH_H@" from gnulib/lib/Makefile.am (it appears as
33    a dependency of "all-local").  With recent versions of Gnulib, this 
34    may no longer be necessary, so don't worry if you can't see
35    "@FNMATCH_H@".
37 5. Generate the configure scripts and Makefile.in files.
39     aclocal -I gnulib/m4 
40     autoheader
41     autoconf
42     automake --add-missing --copy
44 6. Run "configure" and "make" in the normal way.