Brought up-to-date with change in gnulib's human.c - we no longer use human_readable_...
[findutils.git] / README-CVS
blobe33fcd5fa9447b8997d7ec8260bd6d992392f4a2
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 -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/gnulib login
17  (when asked for a password, just press return)
19     cvs -z3 -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/gnulib co gnulib
23 3. Generate a gnulib installation within the fileutils source tree
25  Change your working directory to the findutils source directory (that 
26  is, the directory containing this file).   Then run the following 
27  command:-
29     sh import-gnulib.sh   <name of the directory containing gnulib>
31 The above command may result in some errors from autoconf and
32 automake.  These are benign unless they occur again in the following
33 step - so don;t worry about them unless you see them both times.
35 4. Remove the "@FNMATCH_H@" from gnulib/lib/Makefile.am (it appears as
36    a dependency of "all-local").  With recent versions of Gnulib, this 
37    may no longer be necessary, so don't worry if you can't see
38    "@FNMATCH_H@".
40 5. Generate the configure scripts and Makefile.in files.
42     aclocal -I gnulib/m4 
43     autoheader
44     autoconf
45     automake --add-missing --copy
47 6. Run "configure" and "make" in the normal way.