[selinux-policy: 114/3172] fix per_userdomain_templates macro generation
Daniel J Walsh
dwalsh at fedoraproject.org
Thu Oct 7 19:14:57 UTC 2010
commit 0634b6e77e1b8d7bbf27cc0a86aa7f31a7f57586
Author: Chris PeBenito <cpebenito at tresys.com>
Date: Thu May 5 19:38:22 2005 +0000
fix per_userdomain_templates macro generation
refpolicy/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/refpolicy/Makefile b/refpolicy/Makefile
index dd151da..0f5c115 100644
--- a/refpolicy/Makefile
+++ b/refpolicy/Makefile
@@ -150,7 +150,7 @@ tmp/pre_te_files.conf: $(PRE_TE_FILES)
tmp/generated_definitions.conf: $(ALL_MODULES) $(ALL_TE_FILES) $(BASE_MODULE)/corenetwork.if $(BASE_MODULE)/corenetwork.te
@test -d tmp || mkdir -p tmp
$(QUIET) echo "define(\`per_userdomain_templates',\`" > $@
- $(QUIET) for i in $(ALL_MODULES); do \
+ $(QUIET) for i in $(patsubst %.te,%,$(notdir $(ALL_TE_FILES))); do \
echo "ifdef(\`""$$i""_per_userdomain_template',\`""$$i""_per_userdomain_template("'$$1'")')" \
>> $@ ;\
done
More information about the scm-commits
mailing list