[selinux-policy: 1617/3172] add load target to Makefile.devel

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 21:24:55 UTC 2010


commit d508474f08f77335e937b06ae00a7c27144ddc53
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Tue Oct 10 15:23:17 2006 +0000

    add load target to Makefile.devel

 support/Makefile.devel |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/support/Makefile.devel b/support/Makefile.devel
index 57fec44..2c6d862 100644
--- a/support/Makefile.devel
+++ b/support/Makefile.devel
@@ -138,7 +138,7 @@ define peruser-expansion
 	$(verbose) echo "')" >> $2
 endef
 
-.PHONY: clean all xml
+.PHONY: clean all xml load
 .SUFFIXES:
 .SUFFIXES: .pp
 # broken in make 3.81:
@@ -155,6 +155,14 @@ xml: $(polxml)
 
 ########################################
 #
+# Load module packages
+#
+load: $(all_packages)
+	@$(EINFO) "Loading $(NAME) modules: $(basename $(notdir $(all_packages)))"
+	$(verbose) $(SEMODULE) $(foreach mod,$^,-i $(mod))
+
+########################################
+#
 # Build module packages
 #
 tmp/%.mod: $(m4support) tmp/all_interfaces.conf %.te


More information about the scm-commits mailing list