From 3289054de592a5298b26f43301e443d2e00989e8 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Wed, 10 Jul 2002 20:09:56 +0000 Subject: copy to /sbin/ebtables --- INSTALL | 3 ++- Makefile | 7 +++++-- 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 -- cgit v1.2.3