move example makefile to doc
This commit is contained in:
parent
6018e9b010
commit
5bd1a7036c
@ -66,8 +66,7 @@ XMLDTD = $(DOCS)/policy.dtd
|
|||||||
LAYERXML = metadata.xml
|
LAYERXML = metadata.xml
|
||||||
HTMLDIR = $(DOCS)/html
|
HTMLDIR = $(DOCS)/html
|
||||||
DOCTEMPLATE = $(DOCS)/templates
|
DOCTEMPLATE = $(DOCS)/templates
|
||||||
DEVMAKEFILE = $(SUPPORT)/Makefile.devel
|
DOCFILES = $(DOCS)/Makefile.example $(addprefix $(DOCS)/,example.te example.if example.fc)
|
||||||
EXAMPLEMOD = $(addprefix $(DOCS)/,example.te example.if example.fc)
|
|
||||||
|
|
||||||
# config file paths
|
# config file paths
|
||||||
GLOBALTUN = $(POLDIR)/global_tunables
|
GLOBALTUN = $(POLDIR)/global_tunables
|
||||||
@ -369,10 +368,10 @@ install-headers: $(DETECTED_MODS:.te=.if) $(ROLEMAP) $(M4SUPPORT)
|
|||||||
#
|
#
|
||||||
# Install policy documentation
|
# Install policy documentation
|
||||||
#
|
#
|
||||||
install-docs: $(DEVMAKEFILE) $(EXAMPLEMOD) build.conf tmp/html
|
install-docs: $(DOCFILES) build.conf tmp/html
|
||||||
@mkdir -p $(DOCSDIR)/html
|
@mkdir -p $(DOCSDIR)/html
|
||||||
@echo "Installing policy documentation"
|
@echo "Installing policy documentation"
|
||||||
$(verbose) install -m 644 $(DEVMAKEFILE) $(EXAMPLEMOD) $(DOCSDIR)
|
$(verbose) install -m 644 $(DOCFILES) $(DOCSDIR)
|
||||||
$(verbose) install -m 644 build.conf $(DOCSDIR)/build.conf.example
|
$(verbose) install -m 644 build.conf $(DOCSDIR)/build.conf.example
|
||||||
$(verbose) install -m 644 $(wildcard $(HTMLDIR)/*) $(DOCSDIR)/html
|
$(verbose) install -m 644 $(wildcard $(HTMLDIR)/*) $(DOCSDIR)/html
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user