From 3c62aa31a9fe021fd21ad15bf82ea4ab5229fd1a Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Wed, 1 Jun 2005 17:45:06 +0000 Subject: [PATCH] fix policy.xml to not have templates for generated interfaces --- refpolicy/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/refpolicy/Makefile b/refpolicy/Makefile index 9e68fd2e..30a66dba 100644 --- a/refpolicy/Makefile +++ b/refpolicy/Makefile @@ -271,7 +271,9 @@ xml: policy.xml policy.xml: $(ALL_INTERFACES) tmp/generated_definitions.conf @echo "Creating $@" $(QUIET) echo "" > $@ - $(QUIET) egrep -h "^##[[:space:]]" $^ | sed -e 's/^##[[:space:]]//g' >> $@ +# process this through m4 to eliminate the generated definitions. +# currently these are only in corenetwork.if + $(QUIET) m4 $^ | egrep -h "^##[[:space:]]" | sed -e 's/^##[[:space:]]//g' >> $@ $(QUIET) echo "" >> $@ ########################################