From c592e52e38cbd9411e561fde5dd588b49c7b81bb Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Wed, 15 Jun 2005 14:14:20 +0000 Subject: [PATCH] add install-src target --- refpolicy/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/refpolicy/Makefile b/refpolicy/Makefile index f93d9a7f..e4a27ff5 100644 --- a/refpolicy/Makefile +++ b/refpolicy/Makefile @@ -451,6 +451,16 @@ $(APPDIR)/users/root: $(APPCONF)/root_default_contexts @mkdir -p $(APPDIR)/users $(QUIET) install -m 644 $< $@ +######################################## +# +# Install policy sources +# +install-src: + rm -rf $(SRCPATH)/policy.old + -mv $(SRCPATH)/policy $(SRCPATH)/policy.old + mkdir -p $(SRCPATH)/policy + cp -R . $(SRCPATH)/policy + clean: rm -fR tmp rm -f policy.conf