diff --git a/Makefile b/Makefile index 0f5f5ef91..ccd3ad96b 100644 --- a/Makefile +++ b/Makefile @@ -133,6 +133,9 @@ htmldir := $(LOCAL_ROOT)/doc/html doctmpdir := $(LOCAL_ROOT)/doc/tmp endif +# udica templates path +udicatemplates := udica-templates + # config file paths globaltun := $(poldir)/global_tunables globalbool := $(poldir)/global_booleans @@ -167,6 +170,7 @@ sharedir := $(prefix)/share/selinux modpkgdir := $(sharedir)/$(strip $(NAME)) headerdir := $(modpkgdir)/include docsdir := $(prefix)/share/doc/$(PKGNAME) +udicatemplatesdir := $(prefix)/share/udica/templates # enable MLS if requested. ifeq "$(TYPE)" "mls" @@ -590,6 +594,15 @@ install-src: mkdir -p $(srcpath)/policy cp -R . $(srcpath)/policy +######################################## +# +# Install udica templates +# +install-udica-templates: + @mkdir -p $(udicatemplatesdir) + @echo "Installing udica templates" + $(verbose) $(INSTALL) -m 644 $(wildcard $(udicatemplates)/*) $(udicatemplatesdir) + ######################################## # # Generate tags file @@ -671,4 +684,4 @@ ifneq ($(generated_fc),) endif endif -.PHONY: install-src install-appconfig install-headers build-interface-db generate xml conf html bare tags +.PHONY: install-src install-appconfig install-headers install-udica-templates build-interface-db generate xml conf html bare tags