Generate package.m4 in build-dir, not srcdir.
[autoconf/tsuna.git] / README-hacking
blob61616feafb0709d95607f96c8cdacb393c7a467c
1 -*- outline -*-
3 These notes intend to help people working on the checked-out sources.
4 These requirements do not apply when building from a distribution tarball.
6 * Requirements
8 We've opted to keep only the highest-level sources in the GIT repository.
9 This eases our maintenance burden, (fewer merges etc.), but imposes more
10 requirements on anyone wishing to build from the just-checked-out sources.
11 For example, you have to use the latest stable versions of the maintainer
12 tools we depend upon, including:
14 - Autoconf <http://www.gnu.org/software/autoconf/>
15 - Automake <http://www.gnu.org/software/automake/>
16 - Perl <http://www.cpan.org/>
18 The following are useful as well, if you want to be able to run commands
19 like "make dist" or "make distcheck":
21 - Gzip <http://www.gnu.org/software/gzip/>
22 - Tar <http://www.gnu.org/software/tar/>
24 Only building the initial full source tree will be a bit painful.
25 Later, a plain `git pull && make' should be sufficient.
27 * First GIT checkout
29 You can get a copy of the source repository like this:
31         $ git clone git://git.sv.gnu.org/autoconf
33 The next step is to generate files like configure and Makefile.in:
35         $ cd autoconf
36         $ autoreconf -vi
38 Since we're building autoconf itself, and its tests are picky, the
39 following procedure includes an extra step to ensure that some
40 generated files are regenerated using the tools just build by "make":
42         $ ./configure
43         $ make
44         $ ( PATH=`pwd`/tests:$PATH; autoreconf -vi )
45         $ make check
47 At this point, there should be no difference between your local copy,
48 and the GIT master copy:
50         $ git diff
52 should output no difference.
54 Enjoy!
56 -----
58 Copyright (C) 2002-2007 Free Software Foundation, Inc.
60 This program is free software: you can redistribute it and/or modify
61 it under the terms of the GNU General Public License as published by
62 the Free Software Foundation, either version 3 of the License, or
63 (at your option) any later version.
65 This program is distributed in the hope that it will be useful,
66 but WITHOUT ANY WARRANTY; without even the implied warranty of
67 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
68 GNU General Public License for more details.
70 You should have received a copy of the GNU General Public License
71 along with this program.  If not, see <http://www.gnu.org/licenses/>.