mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 22:30:58 +01:00
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
This commit is contained in:
parent
ea64849806
commit
7d3c83a529
@ -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; \
|
||||
|
Loading…
Reference in New Issue
Block a user