Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 1 | FOLLOW THESE SIMPLE GUIDELINES: |
| 2 | ------------------------------- |
| 3 | |
Bart De Schuymer | 4c732c4 | 2003-04-01 17:06:51 +0000 | [diff] [blame] | 4 | Compiling the source code and putting the files in the right directories: |
Bart De Schuymer | 4a721be | 2002-11-20 19:40:47 +0000 | [diff] [blame] | 5 | %make install |
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 6 | |
Bart De Schuymer | 4a721be | 2002-11-20 19:40:47 +0000 | [diff] [blame] | 7 | If you are using the CVS code or need your own kernel includes, do this |
| 8 | instead (change the include directory to the appropriate one): |
Bart De Schuymer | 06a9682 | 2003-02-19 20:09:51 +0000 | [diff] [blame] | 9 | %make install KERNEL_INCLUDES=/usr/src/linux/include |
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 10 | |
| 11 | WHAT GETS INSTALLED? |
| 12 | -------------------- |
| 13 | |
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 14 | - The ebtables manual gets installed in /usr/local/man/man8 |
| 15 | To put the manual somewhere else, include MANDIR=<<man-path/man>> as |
| 16 | option on the command line. |
| 17 | The Makefile will append /man8/ebtables.8. |
Bart De Schuymer | a296038 | 2003-04-01 17:29:13 +0000 | [diff] [blame] | 18 | - ethertypes is by default placed in /etc/, if you |
| 19 | want to change this, include ETHERTYPESPATH=<<path>>. |
Bart De Schuymer | 3289054 | 2002-07-10 20:09:56 +0000 | [diff] [blame] | 20 | - the userspace program ebtables is compiled and the executable is copied |
Bart De Schuymer | a296038 | 2003-04-01 17:29:13 +0000 | [diff] [blame] | 21 | by default to /sbin/ebtables. If you want to put the executable |
| 22 | somewhere else, include BINPATH=<<path>>. |
Bart De Schuymer | 464e7d9 | 2003-12-30 17:45:07 +0000 | [diff] [blame] | 23 | - you can prefix these paths with a base directory using the option |
| 24 | DESTDIR=<<prefix>>. |
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 25 | |
| 26 | That's all |