From 7d3c83a529c0d6bcfe01d65505f90b0a5b87cbc3 Mon Sep 17 00:00:00 2001 From: teastep Date: Sat, 17 Jun 2006 17:59:40 +0000 Subject: [PATCH] Use an 'include' statement in Makefile to get the value of LITEDIR git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4134 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-lite/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Shorewall-lite/Makefile b/Shorewall-lite/Makefile index b61cd248a..6dbd0d90c 100644 --- a/Shorewall-lite/Makefile +++ b/Shorewall-lite/Makefile @@ -2,9 +2,11 @@ VARDIR=/var/lib/shorewall-lite SHAREDIR=/usr/share/shorewall-lite RESTOREFILE?=.restore +include $(SHAREDIR)/configpath + all: $(VARDIR)/${RESTOREFILE} -$(VARDIR)/${RESTOREFILE}: $(VARDIR)/firewall +$(VARDIR)/${RESTOREFILE}: $(LITEDIR)/firewall @/sbin/shorewall-lite -q save >/dev/null; \ if \ /sbin/shorewall-lite -q restart >/dev/null 2>&1; \