[selinux-policy: 1211/3172] make html target create tmp dir

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 20:49:36 UTC 2010


commit 81a18f87811d8e53c6b8341c918c3363f5f36675
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Wed Feb 15 18:30:12 2006 +0000

    make html target create tmp dir

 refpolicy/Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/refpolicy/Makefile b/refpolicy/Makefile
index 2fe65e1..3cddbd9 100644
--- a/refpolicy/Makefile
+++ b/refpolicy/Makefile
@@ -347,6 +347,7 @@ $(POLXML): $(DETECTED_MODS:.te=.if) $(foreach dir,$(ALL_LAYERS),$(dir)/$(LAYERXM
 html $(TMPDIR)/html: $(POLXML)
 	@echo "Building html interface reference documentation in $(HTMLDIR)"
 	@test -d $(HTMLDIR) || mkdir -p $(HTMLDIR)
+	@test -d $(TMPDIR) || mkdir -p $(TMPDIR)
 	$(verbose) $(GENDOC) -d $(HTMLDIR) -T $(DOCTEMPLATE) -x $(POLXML)
 	$(verbose) cp $(DOCTEMPLATE)/*.css $(HTMLDIR)
 	@touch $(TMPDIR)/html


More information about the scm-commits mailing list