-
Notifications
You must be signed in to change notification settings - Fork 1
/
README-hacking
102 lines (68 loc) · 2.87 KB
/
README-hacking
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
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
Mailutils. 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/>
- Bison <http://www.gnu.org/software/bison/>
- Flex <http://flex.sourceforge.net/>
- M4 <http://www.gnu.org/software/m4/>
- Texinfo <http://www.gnu.org/software/texinfo>
- Wget <http://www.gnu.org/software/wget/>
- 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
Mailutils 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 mailutils
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 Mailutils, 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 Mailutils
root directory the file named `.bootstrap' with the following
contents:
--gnulib-srcdir=$HOME/gnulib --skip-po
Replace `$HOME/gnulib' with the actual directory where the Gnulib
sources reside.
For more information about `bootstrap', run `bootstrap --help'.
* Flowgraphs
To obtain flowgraphs, you need GNU cflow v.1.3 or higher.
To create or update all flowgraphs, run the following command
from the source tree root directory:
make -f maint.mk
The flowgraphs will be created in the subdirectories and
named COMP.cflow, where COMP is the name of the corresponding
Mailutils component.
To create or update the flowgraph for a given component, change
into this component's subdirectory and run
make -f ../maint.mk flowgraph
If the component in question has its own maint.mk, run
make -f maint.mk flowgraph
instead.
To clean all flowgraphs, run (from the source tree root directory):
make -f maint.mk maintclean-recursive
* Copyright information
Copyright (C) 2007-2012 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: