touch: add -h to change symlink timestamps, where supported
[coreutils/ericb.git] / README-hacking
blobdaaa4b14457eab9a1d0014fc1d9979b457dcd3d2
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.
5 See also HACKING for more detailed coreutils contribution guidelines.
7 * Requirements
9 We've opted to keep only the highest-level sources in the GIT repository.
10 This eases our maintenance burden, (fewer merges etc.), but imposes more
11 requirements on anyone wishing to build from the just-checked-out sources.
12 Note the requirements to build the released archive are much less and
13 are just the requirements of the standard ./configure && make procedure.
14 Specific development tools and versions will be checked for and listed by
15 the bootstrap script.  See README-prereq for specific notes on obtaining
16 these prerequisite tools.
18 Valgrind <http://valgrind.org/> is also highly recommended, if
19 Valgrind supports your architecture. See also README-valgrind.
21 While building from a just-cloned source tree may require installing a
22 few prerequisites, later, a plain `git pull && make' should be sufficient.
24 * First GIT checkout
26 You can get a copy of the source repository like this:
28         $ git clone git://git.sv.gnu.org/coreutils
29         $ cd coreutils
31 The next step is to get and check other files needed to build,
32 which are extracted from other source packages:
34         $ ./bootstrap
36 And there you are!  Just
38         $ ./configure #[--enable-gcc-warnings]
39         $ make
40         $ make check
42 At this point, there should be no difference between your local copy,
43 and the GIT master copy:
45         $ git diff
47 should output no difference.
49 Enjoy!
51 -----
53 Copyright (C) 2002-2009 Free Software Foundation, Inc.
55 This program is free software: you can redistribute it and/or modify
56 it under the terms of the GNU General Public License as published by
57 the Free Software Foundation, either version 3 of the License, or
58 (at your option) any later version.
60 This program is distributed in the hope that it will be useful,
61 but WITHOUT ANY WARRANTY; without even the implied warranty of
62 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
63 GNU General Public License for more details.
65 You should have received a copy of the GNU General Public License
66 along with this program.  If not, see <http://www.gnu.org/licenses/>.