From 5bd1a7036c14507db9737a91f5da9a4e674f8652 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Wed, 1 Feb 2006 13:46:05 +0000 Subject: [PATCH] move example makefile to doc --- refpolicy/Makefile | 7 +++---- refpolicy/{support/Makefile.devel => doc/Makefile.example} | 0 2 files changed, 3 insertions(+), 4 deletions(-) rename refpolicy/{support/Makefile.devel => doc/Makefile.example} (100%) diff --git a/refpolicy/Makefile b/refpolicy/Makefile index 495b479b1..bdb98ff44 100644 --- a/refpolicy/Makefile +++ b/refpolicy/Makefile @@ -66,8 +66,7 @@ XMLDTD = $(DOCS)/policy.dtd LAYERXML = metadata.xml HTMLDIR = $(DOCS)/html DOCTEMPLATE = $(DOCS)/templates -DEVMAKEFILE = $(SUPPORT)/Makefile.devel -EXAMPLEMOD = $(addprefix $(DOCS)/,example.te example.if example.fc) +DOCFILES = $(DOCS)/Makefile.example $(addprefix $(DOCS)/,example.te example.if example.fc) # config file paths GLOBALTUN = $(POLDIR)/global_tunables @@ -369,10 +368,10 @@ install-headers: $(DETECTED_MODS:.te=.if) $(ROLEMAP) $(M4SUPPORT) # # Install policy documentation # -install-docs: $(DEVMAKEFILE) $(EXAMPLEMOD) build.conf tmp/html +install-docs: $(DOCFILES) build.conf tmp/html @mkdir -p $(DOCSDIR)/html @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 $(wildcard $(HTMLDIR)/*) $(DOCSDIR)/html diff --git a/refpolicy/support/Makefile.devel b/refpolicy/doc/Makefile.example similarity index 100% rename from refpolicy/support/Makefile.devel rename to refpolicy/doc/Makefile.example