summaryrefslogtreecommitdiffstats
path: root/INSTALL
blob: 9df07f7c8dac039c88f2c3c6f5b7194b3861c9bd (plain)
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
FOLLOW THESE SIMPLE GUIDELINES:
-------------------------------

Compiling the source code and putting the files in the right directories:
%make install

If you are using the CVS code or need your own kernel includes, do this
instead (change the include directory to the appropriate one):
%make install KERNEL_INCLUDES=/usr/src/linux/include

WHAT GETS INSTALLED?
--------------------

- The ebtables manual gets installed in /usr/local/man/man8
  To put the manual somewhere else, include MANDIR=<<man-path/man>> as
  option on the command line.
  The Makefile will append /man8/ebtables.8.
- ethertypes is by default placed in /etc/, if you
  want to change this, include ETHERTYPESPATH=<<path>>.
- the userspace program ebtables is compiled and the executable is copied
  by default to /sbin/ebtables. If you want to put the executable
  somewhere else, include BINPATH=<<path>>.
- you can prefix these paths with a base directory using the option
  DESTDIR=<<prefix>>.

That's all