summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2003-12-30 17:42:30 +0000
committerBart De Schuymer <bdschuym@pandora.be>2003-12-30 17:42:30 +0000
commit8042e1c9abd318fc4838af8976e979b8a5d57f9d (patch)
tree5c28474dccf1a82fff850a3fc33ea01e74772436 /Makefile
parent1e9aca96de9c9989d9578ddeece0069832cb6575 (diff)
downloadebtables-8042e1c9abd318fc4838af8976e979b8a5d57f9d.tar.gz
ebtables-8042e1c9abd318fc4838af8976e979b8a5d57f9d.tar.bz2
ebtables-8042e1c9abd318fc4838af8976e979b8a5d57f9d.zip
Riccardo Murri <murri_at_dmmm.uniroma1.it> add DESTDIR option
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a0300fc..2f4fec0 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ PROGNAME:=ebtables
PROGVERSION:=2.0.5
PROGDATE:=July\ 2003
-MANDIR?=/usr/local/man
+MANDIR?=$(DESTDIR)/usr/local/man
CFLAGS:=-Wall -Wunused
CC:=gcc
@@ -18,10 +18,10 @@ OBJECTS:=getethertype.o ebtables.o communication.o $(EXT_OBJS)
KERNEL_INCLUDES?=include/
-ETHERTYPESPATH?=/etc
+ETHERTYPESPATH?=$(DESTDIR)/etc
ETHERTYPESFILE:=$(ETHERTYPESPATH)/ethertypes
-BINPATH?=/sbin/
+BINPATH?=$(DESTDIR)/sbin/
BINFILE:=$(BINPATH)ebtables
PROGSPECS:=-DPROGVERSION=\"$(PROGVERSION)\" \