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