summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2002-02-17 19:49:26 +0000
committerHarald Welte <laforge@gnumonks.org>2002-02-17 19:49:26 +0000
commitba6d012a540f0ce2d5b25a1253620692790018b5 (patch)
treed34f409089f9300cfec1c3a3c24651185a977693
parent63c364d6fd20b1f58df9e91bcb4cfea2ebae6507 (diff)
add PREFIX variable
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 092a4d4b..9b340f0e 100644
--- a/Makefile
+++ b/Makefile
@@ -14,12 +14,13 @@ ifndef KERNEL_DIR
KERNEL_DIR=/usr/src/linux
endif
NETFILTER_VERSION:=1.2.6
-OLD_NETFILTER_VERSION:=1.2.6
+OLD_NETFILTER_VERSION:=1.2.5
-LIBDIR:=/usr/local/lib
-BINDIR:=/usr/local/sbin
-MANDIR:=/usr/local/man
-INCDIR:=/usr/local/include
+PREFIX:=/usr/local
+LIBDIR:=$(PREFIX)/lib
+BINDIR:=$(PREFIX)/sbin
+MANDIR:=$(PREFIX)/man
+INCDIR:=$(PREFIX)/include
# directory for new iptables releases
RELEASE_DIR:=/tmp