Merge pull request #642 from StormedBubbles/guncon
[pcsx_rearmed.git] / deps / lightning / README-hacking
CommitLineData
519a9ea1
PC
1This README-hacking file describes the development environment.
2
3Everything related to the development of GNU lightning is on Savannah:
4https://savannah.gnu.org/projects/lightning/.
5
6
7* Working from the Repository
8
9** Autotools
10
11This distribution uses the latest stable versions of Automake, Autoconf. If
12you are getting the sources from git (or change configure.ac), you'll need
13to have these tools installed to (re)build. All
14of these programs are available from ftp://ftp.gnu.org/gnu.
15
16If you're using a GNU/Linux distribution, the easiest way to install these
17packages depends on your system. The following shell command should work
18for Debian-based systems such as Ubuntu:
19
20 $ sudo apt-get install autoconf automake
21
22
23** Building
24
25After getting the git sources, and installing the tools above, you can run
26
27 $ ./bootstrap
28 $ ./configure
29 $ make
30 $ make check
31
32to do a fresh build. At this point, there should be no difference between
33your local copy, and the master copy:
34
35 $ git diff
36
37should output no difference.
38
39After that first time, running make should suffice.
40
41** Gnulib
42
43This distribution also uses Gnulib (https://www.gnu.org/software/gnulib) to
44share common files, stored as a submodule in git.
45
46** Updating
47
48 $ git pull
49 $ git submodule update
50
51** Updating a submodule
52
53To update a submodule, say gnulib, do as follows:
54
55Get the most recent version of the master branch from git.
56
57 $ cd gnulib
58 $ git pull
59
60Make sure GNU lightning can live with that version of gnulib.
61
62 $ cd ..
63 $ ./bootstrap
64 $ make distcheck
65
66Register your changes.
67
68 $ git commit ...
69
70
71----
72
73
74Copyright 2021 Free Software Foundation, Inc.
75
76This file is part of GNU lightning.
77
78GNU lightning is free software; you can redistribute it and/or modify
79it under the terms of the GNU Lesser General Public License as
80published by the Free Software Foundation; either version 3, or (at
81your option) any later version.
82
83GNU lightning is distributed in the hope that it will be useful, but
84WITHOUT ANY WARRANTY; without even the implied warranty of
85MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
86Lesser General Public License for more details.
87
88You should have received a copy of the GNU Lesser General Public
89License along with this program. If not, see
90<http://www.gnu.org/licenses/>.
91
92
93Local Variables:
94mode: outline
95fill-column: 76
96End: