summaryrefslogtreecommitdiffabout
path: root/README-hacking
blob: 0926b98bc09fd1c396572b756ccd6076943e91cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
These notes intend to help people working on the Git version of
this package.

* Requirements

You need the following packages to build the Git version of GNU
cpio.  We do not make any efforts to accommodate older versions of
these packages, so please make sure that you have the latest stable
version. 

- Automake <http://www.gnu.org/software/automake/>
- Autoconf <http://www.gnu.org/software/autoconf/>
- M4 <http://www.gnu.org/software/m4/>
- Texinfo <http://www.gnu.org/software/texinfo>
- Gnulib <http://www.gnu.org/software/gnulib> 
- Git <http://git.or.cz>

* Bootstrapping

Obviously, if you are reading these notes, you did manage to clone
cpio from Git. The next step is to get other files needed to build,
which are extracted from other source packages: 

1. Change to the source tree directory

   cd cpio

2. Run

   ./bootstrap 

Once done, proceed as described in the file README (section
INSTALLATION).

Normally you will have to run bootstrap only once. However, if you
intend to hack on GNU cpio, you might need to run it again later. In
this case, you will probably want to save some time and bandwidth by
avoiding downloading the same files again. If so, create in GNU cpio
root directory the file named `.bootstrap' with the following
contents:

   --gnulib-srcdir=$HOME/gnulib --paxutils-srcdir=$HOME/paxutils

Replace `$HOME/gnulib' and $HOME/paxutils with the actual directory
where the Gnulib and Paxutils sources reside.
   
For more information about `bootstrap', run `bootstrap --help'.


* Copyright information

 Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.

 Permission is granted to anyone to make or distribute verbatim copies
 of this document as received, in any medium, provided that the
 copyright notice and this permission notice are preserved,
 thus giving the recipient permission to redistribute in turn.

 Permission is granted to distribute modified versions
 of this document, or of portions of it,
 under the above conditions, provided also that they
 carry prominent notices stating who last changed them.

^L
Local Variables:
mode: outline
paragraph-separate: "[	^L]*$"
version-control: never
End:


Return to:

Send suggestions and report system problems to the System administrator.