Debian Codegraph @

INSTALL

raw
1 Compiling and installing MONA
2 -----------------------------
3
4 Files are installed in the following directories:
5
6 $(bindir)/ - contains the 'mona' executable
7 $(mandir)/ - contains the manual page for 'mona'
8 $(datadir)/ - contains 'mona-mode.el' for Emacs
9
10 This can be changed by passing appropriate arguments to 'configure'
11 (see './configure --help'). To configure the same way as RPM does it,
12 start by running
13
14 config/rpm-config (arguments are passed on to 'configure')
15
16 otherwise, run
17
18 ./configure (with appropriate configuration switches)
19
20 To compile and install, run
21
22 make
23 make install-strip (may require root permissions)
24
25 If you run 'make' without 'make install-strip', you should manually
26 run 'strip mona' to remove symbol table, etc., from the executable.
27
28 To uninstall, run
29
30 make uninstall (may require root permissions)
31
32
33
34 Building binary RPMs
35 --------------------
36
37 Configuration options (passed to './configure' or 'config/rpm-config')
38 are also inserted in 'mona.spec'. This means that if you run
39
40 make rpm
41
42 you will get a binary RPM that is tailored for your system.
43
44
45
46 Building the Lib and Examples programs
47 --------------------------------------
48
49 To compile the programs in the Lib and Examples directories, run
50
51 make lib
52 make examples
53
54
55
56 For developers
57 --------------
58
59 Useful commands:
60 config/init - run aclocal, autoheader, automake, and autoconf
61 config/rpm-config - run configure with RPM configuration
62 config/devel - run init and rpm-config with debug enabled
63 make rpm - make tar.gz and source+binary RPMs
64 make maintainer-clean - remove all files that can be auto-regenerated