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