nicen echoing
This commit is contained in:
parent
8d1111fc46
commit
58b2a3c7fc
|
@ -107,7 +107,7 @@ $(USERS_EXTRA): $(M4SUPPORT) $(USER_FILES)
|
||||||
# Construct a base.conf
|
# Construct a base.conf
|
||||||
#
|
#
|
||||||
$(BASE_CONF): $(BASE_SECTIONS)
|
$(BASE_CONF): $(BASE_SECTIONS)
|
||||||
@echo "Creating $(NAME) base module $(BASE_CONF)"
|
@echo "Creating $(NAME) base module $(@F)"
|
||||||
@test -d $(TMPDIR) || mkdir -p $(TMPDIR)
|
@test -d $(TMPDIR) || mkdir -p $(TMPDIR)
|
||||||
@test -d $(dir $(BASE_CONF)) || mkdir -p $(dir $(BASE_CONF))
|
@test -d $(dir $(BASE_CONF)) || mkdir -p $(dir $(BASE_CONF))
|
||||||
# checkpolicy can use the #line directives provided by -s for error reporting:
|
# checkpolicy can use the #line directives provided by -s for error reporting:
|
||||||
|
@ -194,7 +194,7 @@ endif
|
||||||
#
|
#
|
||||||
enableaudit: $(BASE_CONF)
|
enableaudit: $(BASE_CONF)
|
||||||
@test -d $(TMPDIR) || mkdir -p $(TMPDIR)
|
@test -d $(TMPDIR) || mkdir -p $(TMPDIR)
|
||||||
@echo "Removing dontaudit rules from $(BASE_CONF)"
|
@echo "Removing dontaudit rules from $(^F)"
|
||||||
$(verbose) grep -v dontaudit $(BASE_CONF) > $(TMPDIR)/base.audit
|
$(verbose) grep -v dontaudit $(BASE_CONF) > $(TMPDIR)/base.audit
|
||||||
$(verbose) mv $(TMPDIR)/base.audit $(BASE_CONF)
|
$(verbose) mv $(TMPDIR)/base.audit $(BASE_CONF)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue