Give the autogen commands in a form that you can usefullt cut and paste into a shell
[findutils.git] / README-CVS
blobe3dc1349deaeaed08803307fb484f20a5bcf5e02
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 -I m4 -I gnulib/m4     && \
35     autoheader                     && \
36     autoconf                       && \
37     automake --add-missing --copy
39 5. Run "configure" and "make" in the normal way.