mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-02 10:59:27 +01:00
Add 'clean' target to Makefiles
This commit is contained in:
parent
267bc808f5
commit
e24dbb9aea
@ -14,4 +14,8 @@ $(VARDIR)/${RESTOREFILE}: $(CONFDIR)/*
|
||||
/sbin/shorewall -q restart 2>&1 | tail >&2; \
|
||||
fi
|
||||
|
||||
clean:
|
||||
@rm -f $(CONFDIR)/*~
|
||||
.PHONY: clean
|
||||
|
||||
# EOF
|
||||
|
@ -1406,6 +1406,11 @@ sub pop_open() {
|
||||
pop_include;
|
||||
}
|
||||
|
||||
#
|
||||
# This function is called by in-line PERL to generate a line of input for the current file.
|
||||
# If the in-line PERL returns an indication of success, then the generated lines will be
|
||||
# processed as regular file input.
|
||||
#
|
||||
sub shorewall {
|
||||
unless ( $scriptfile ) {
|
||||
fatal_error "shorewall() may not be called in this context" unless $currentfile;
|
||||
@ -1585,6 +1590,10 @@ sub read_a_line() {
|
||||
# Line not blank -- Handle any first-entry message/capabilities check
|
||||
#
|
||||
if ( $first_entry ) {
|
||||
#
|
||||
# $first_entry can contain either a function reference or a message. If it
|
||||
# contains a reference, call the function -- otherwise issue the message
|
||||
#
|
||||
reftype( $first_entry ) ? $first_entry->() : progress_message2( $first_entry );
|
||||
$first_entry = 0;
|
||||
}
|
||||
|
@ -10,6 +10,8 @@ Changes in Shorewall 4.4.1
|
||||
|
||||
5) Minor performance improvements.
|
||||
|
||||
6) Add 'clean' target to Makefile.
|
||||
|
||||
Changes in Shorewall 4.4.0
|
||||
|
||||
1) Fix 'compile ... -' so that it no longer requires '-v-1'
|
||||
|
@ -208,6 +208,8 @@ None.
|
||||
accepts all SNAT flags without verifying them and returns them to
|
||||
iptables when asked.
|
||||
|
||||
2) A 'clean' target has been added to the Makefiles.
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
N E W F E A T U R E S I N 4 . 4
|
||||
----------------------------------------------------------------------------
|
||||
|
@ -14,4 +14,8 @@ $(VARDIR)/${RESTOREFILE}: $(CONFDIR)/*
|
||||
/sbin/shorewall6 -q restart 2>&1 | tail >&2; \
|
||||
fi
|
||||
|
||||
clean:
|
||||
@rm -f $(CONFDIR)/*~
|
||||
.PHONY: clean
|
||||
|
||||
# EOF
|
||||
|
Loading…
Reference in New Issue
Block a user