summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2002-07-10 20:09:56 +0000
committerBart De Schuymer <bdschuym@pandora.be>2002-07-10 20:09:56 +0000
commit3289054de592a5298b26f43301e443d2e00989e8 (patch)
treea85f3a4abb1d4775313263a87c331e5af4e802dc
parentfc3dd67374c37ed94243b6bdcbdb9295c93b6732 (diff)
copy to /sbin/ebtables
-rw-r--r--INSTALL3
-rw-r--r--Makefile7
2 files changed, 7 insertions, 3 deletions
diff --git a/INSTALL b/INSTALL
index dc17499..5a7d731 100644
--- a/INSTALL
+++ b/INSTALL
@@ -22,6 +22,7 @@ WHAT GETS INSTALLED?
option on the command line.
The Makefile will append /man8/ebtables.8.
- ethertypes is placed in /etc/
-- the userspace program ebtables is compiled.
+- the userspace program ebtables is compiled and the executable is copied
+ to in /sbin/ebtables.
That's all
diff --git a/Makefile b/Makefile
index 67ee9cf..6aa8599 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
KERNEL_DIR?=/usr/src/linux
PROGNAME:=ebtables
-PROGVERSION:="2.0pre9 (July 2002)"
+PROGVERSION:="2.0pre10 (July 2002)"
MANDIR?=/usr/local/man
CFLAGS:=-Wall -Wunused
@@ -51,9 +51,12 @@ $(MANDIR)/man8/ebtables.8: ebtables.8
/etc/ethertypes: ethertypes
mkdir -p $(@D)
install -m 0644 -o root -g root $< $@
+.PHONY: exec
+exec: ebtables
+ install -m 0755 -o root -g root $< /sbin/ebtables
install: $(MANDIR)/man8/ebtables.8 $(KERNEL_INCLUDES) \
- ebtables /etc/ethertypes
+ ebtables /etc/ethertypes exec
clean:
rm -f ebtables