From 14b25bc4551a479cd05bc85d3dd353d8579715da Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Jul 06 2005 18:34:27 +0000 Subject: validate file contexts --- diff --git a/refpolicy/Makefile b/refpolicy/Makefile index d6524b0..698f055 100644 --- a/refpolicy/Makefile +++ b/refpolicy/Makefile @@ -316,7 +316,7 @@ enableaudit: policy.conf # # Construct file_contexts # -$(FC): $(M4SUPPORT) tmp/generated_definitions.conf $(ALL_FC_FILES) $(FCSORT) +$(FC): $(M4SUPPORT) tmp/generated_definitions.conf $(ALL_FC_FILES) $(FCSORT) $(POLVER) ifeq ($(ALL_FC_FILES),) $(error No enabled modules! $(notdir $(MOD_CONF)) may need to be generated by using "make conf") endif @@ -325,6 +325,8 @@ endif $(QUIET) grep -e HOME -e ROLE tmp/$@.tmp > $(HOMEDIR_TEMPLATE) $(QUIET) sed -i -e /HOME/d -e /ROLE/d tmp/$@.tmp $(QUIET) $(FCSORT) tmp/$@.tmp $@ + @echo "Validating file_contexts." + $(SETFILES) -q -c $(POLVER) $(FC) ######################################## #