[selinux-policy: 1630/3172] make load target more friendly and add reload target

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 21:26:01 UTC 2010


commit 76bac89cf0c9d5bc6f6cb03c74450a47e76c6395
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Wed Oct 25 20:38:33 2006 +0000

    make load target more friendly and add reload target

 support/Makefile.devel |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/support/Makefile.devel b/support/Makefile.devel
index 2c6d862..e9b039b 100644
--- a/support/Makefile.devel
+++ b/support/Makefile.devel
@@ -157,9 +157,14 @@ xml: $(polxml)
 #
 # Load module packages
 #
-load: $(all_packages)
+
+load: tmp/loaded
+
+tmp/loaded reload: $(all_packages)
 	@$(EINFO) "Loading $(NAME) modules: $(basename $(notdir $(all_packages)))"
 	$(verbose) $(SEMODULE) $(foreach mod,$^,-i $(mod))
+	@mkdir -p tmp
+	@touch tmp/loaded
 
 ########################################
 #


More information about the scm-commits mailing list