add back html page generation

This commit is contained in:
Chris PeBenito 2005-06-09 19:02:52 +00:00
parent 1601fb3738
commit 20030ef5d6

View File

@ -144,12 +144,10 @@ ALL_FC_FILES := $(ALL_MODULES:.te=.fc)
POLICY_SECTIONS := tmp/pre_te_files.conf tmp/generated_definitions.conf tmp/all_interfaces.conf tmp/all_attrs_types.conf $(GLOBALTUN) tmp/only_te_rules.conf tmp/all_post.conf POLICY_SECTIONS := tmp/pre_te_files.conf tmp/generated_definitions.conf tmp/all_interfaces.conf tmp/all_attrs_types.conf $(GLOBALTUN) tmp/only_te_rules.conf tmp/all_post.conf
DOCTOOLS = doc DOCS = doc
XMLDTD = $(DOCTOOLS)/policy.dtd XMLDTD = $(DOCS)/policy.dtd
HTMLHEAD = $(DOCTOOLS)/header.html HTMLDIR = $(DOCS)/html
HTMLFOOT = $(DOCTOOLS)/footer.html DOCTEMPLATE = $(DOCS)/templates
HTMLCSS = $(DOCTOOLS)/style.css
HTMLOUT = $(DOCTOOLS)/html
######################################## ########################################
# #
@ -356,6 +354,11 @@ tmp/policy.xml: $(GENERATED_IF)
$(XMLLINT) --noout --dtdvalid $(XMLDTD) $@ ;\ $(XMLLINT) --noout --dtdvalid $(XMLDTD) $@ ;\
fi fi
html: tmp/policy.xml
@mkdir -p $(HTMLDIR)
$(QUIET) cd $(DOCS) && ../$(GENDOC) -d ../$(HTMLDIR) -T ../$(DOCTEMPLATE) -x ../tmp/policy.xml
$(QUIET) cp $(DOCTEMPLATE)/*.css $(HTMLDIR)
######################################## ########################################
# #
# Runtime binary policy patching of users # Runtime binary policy patching of users
@ -436,6 +439,7 @@ bare: clean
rm -f $(FCSORT) rm -f $(FCSORT)
rm -f $(MOD_DISABLE) rm -f $(MOD_DISABLE)
rm -f $(TUNABLES) rm -f $(TUNABLES)
rm -fR $(HTMLDIR)
ifneq ($(GENERATED_TE),) ifneq ($(GENERATED_TE),)
rm -f $(GENERATED_TE) rm -f $(GENERATED_TE)
endif endif