From ae90172c411a9ff46cdea104db3eefae9989471a Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Sat, 22 Oct 2005 16:31:56 +0000 Subject: [PATCH] expand gen_context() in file contexts --- refpolicy/Rules.modular | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/refpolicy/Rules.modular b/refpolicy/Rules.modular index 2a04843f2..a6888f862 100644 --- a/refpolicy/Rules.modular +++ b/refpolicy/Rules.modular @@ -151,7 +151,10 @@ tmp/%.mod: $(M4SUPPORT) tmp/generated_definitions.conf tmp/all_interfaces.conf % $(QUIET) m4 $(M4PARAM) -s $^ > $(@:.mod=.tmp) $(QUIET) $(CHECKMODULE) -m $(@:.mod=.tmp) -o $@ -%.pp: tmp/%.mod %.fc +tmp/%.mod.fc: $(M4SUPPORT) %.fc + $(QUIET) m4 $(M4PARAM) $(M4SUPPORT) $^ > $@ + +%.pp: tmp/%.mod tmp/%.mod.fc @echo "Creating $(NAME) $(@F) policy package" $(QUIET) $(SEMOD_PKG) $@ $^