]> git.zerfleddert.de Git - amt/blob - INSTALL
import amtterm-1.0
[amt] / INSTALL
1
2 howto compile and install this package
3 ======================================
4
5
6 really short install instructions
7 ---------------------------------
8
9 $ make
10 $ su -c "make install"
11
12
13
14 the more detailed version
15 -------------------------
16
17 Make sure you use GNU make. The file name "GNUmakefile" isn't a joke,
18 this package really requires GNU make.
19
20 As first step make will do some config checks on your system and write
21 the results to Make.config. If you want to have a look at Make.config
22 before the actual build starts you can run this step separately using
23 "make config".
24
25 The Makefiles use the usual GNU-ish Makefile conventions for variable
26 names and default values, i.e. prefix=/usr/local, ...
27
28 The values for some frequently adapted variables are initialized from
29 the enviroment. Thus you can change the defaults simply by setting
30 environment variables:
31
32 $ prefix="/usr"
33 $ CFLAGS="-O3 -mcpu=i686"
34 $ export prefix CFLAGS
35
36 Almost any variable can be overridden on the make command line. It is
37 often used this way to install into some buildroot for packaging ...
38
39 $ su -c "make DESTDIR=/tmp/buildroot install"
40
41 ... but it works for most other variables equally well. There are
42 some exceptions through, it usually does _not_ work for CFLAGS for
43 example.
44
45 Try "make verbose=yes" if you want to see the complete command lines
46 executed by make instead of the short messages (for trouble shooting,
47 because you like this way, for whatever reason ...). This also makes
48 the config checks performed by "make config" more verbose.
49
50 If you don't trust my Makefiles you can run "make -n install" to see
51 what "make install" would do on your system. It will produce
52 human-readable output (unlike automake ...).
53
54 Have fun,
55
56 Gerd
57
58 --
59 Gerd Hoffmann <kraxel@suse.de>
Impressum, Datenschutz