mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
Fixed also some outdated informations in doc/HACKING
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
01bd446bdf
commit
388bcc3520
24
doc/HACKING
24
doc/HACKING
@ -19,15 +19,18 @@ required:
|
|||||||
Autoconf 2.52 and above (latest is recommended)
|
Autoconf 2.52 and above (latest is recommended)
|
||||||
Automake 1.5 and above (latest is recommended)
|
Automake 1.5 and above (latest is recommended)
|
||||||
Gettext 0.11.5 and above
|
Gettext 0.11.5 and above
|
||||||
Glib 2.x and above
|
Glib 2.6 and above (2.14 and higher is recommended)
|
||||||
|
|
||||||
|
Full list of requirements you can see at:
|
||||||
|
http://www.midnight-commander.org/wiki/en/doc/buildAndInstall/req
|
||||||
|
|
||||||
It is recommended that all those tools are installed with the same
|
It is recommended that all those tools are installed with the same
|
||||||
prefix. Make sure that the tools with the right version are first in
|
prefix. Make sure that the tools with the right version are first in
|
||||||
PATH.
|
PATH.
|
||||||
|
|
||||||
Once you have the right tools, run `autogen.sh' - it will generate
|
Once you have the right tools, run `autogen.sh' - it will generate
|
||||||
everything necessary for the build and run `configure'. Arguments given
|
everything necessary for the build `configure'. Then run 'configure'
|
||||||
to `autogen.sh' are passed to `configure'. Then run `make' as usually.
|
and `make' as usually.
|
||||||
|
|
||||||
The distribution tarball is created by the command `make distcheck'.
|
The distribution tarball is created by the command `make distcheck'.
|
||||||
This command can take a while.
|
This command can take a while.
|
||||||
@ -50,14 +53,8 @@ versions. A lot of cleanup is going on. The GIT version may be easier
|
|||||||
to understand, in addition to the obvious fact that the merging is
|
to understand, in addition to the obvious fact that the merging is
|
||||||
easier with the GIT version.
|
easier with the GIT version.
|
||||||
|
|
||||||
There are some tools in the maint directory on GIT. They are not
|
|
||||||
included with releases or snapshots. You may be interested to look at
|
|
||||||
them if you are going to work on the project for an extended period of
|
|
||||||
time. In particular, the release procedure is described there.
|
|
||||||
|
|
||||||
In order to compile GNU Midnight Commander from a clean GIT checkout you
|
In order to compile GNU Midnight Commander from a clean GIT checkout you
|
||||||
should use autogen.sh instead of configure. Arguments passed to
|
should use 'autogen.sh && ./configure' instead of 'configure'.
|
||||||
autogen.sh are passed to configure after it's generated.
|
|
||||||
|
|
||||||
GNU Midnight Commander uses Autoconf and Automake, with make it fairly
|
GNU Midnight Commander uses Autoconf and Automake, with make it fairly
|
||||||
portable. However, GNU Make is strongly recommended for development
|
portable. However, GNU Make is strongly recommended for development
|
||||||
@ -69,10 +66,6 @@ If you add or remove any files, please change Makefile.am in the same
|
|||||||
directory accordingly. When doing significant changes in the tree
|
directory accordingly. When doing significant changes in the tree
|
||||||
structure, "make distcheck" is strongly recommended.
|
structure, "make distcheck" is strongly recommended.
|
||||||
|
|
||||||
If you have etags installed, you can run "make tags" and use tags in
|
|
||||||
emacs to find functions or variables. But you can also use the internal
|
|
||||||
editor and the "Find File" command to find any text in the source tree.
|
|
||||||
|
|
||||||
GNU Autoconf allows you to test several different configurations are
|
GNU Autoconf allows you to test several different configurations are
|
||||||
once. To do so, use the so called out-of-tree (or VPATH) compilation.
|
once. To do so, use the so called out-of-tree (or VPATH) compilation.
|
||||||
Create separate empty directories and run configure with full path from
|
Create separate empty directories and run configure with full path from
|
||||||
@ -140,7 +133,8 @@ which makes it easier to create complex dialogs.
|
|||||||
|
|
||||||
Files findme.c, popt.c, poptconfig.c, popthelp.c and poptparse.c come
|
Files findme.c, popt.c, poptconfig.c, popthelp.c and poptparse.c come
|
||||||
from the popt library used to parse the command line. They should not
|
from the popt library used to parse the command line. They should not
|
||||||
be modified unless absolutely necessary.
|
be modified unless absolutely necessary. At near time these stuff will
|
||||||
|
removed.
|
||||||
|
|
||||||
The files util.c and utilunix.c have a lot of utility functions. Get
|
The files util.c and utilunix.c have a lot of utility functions. Get
|
||||||
familiar with them, they are very simple.
|
familiar with them, they are very simple.
|
||||||
|
Loading…
Reference in New Issue
Block a user