From 29fcde84ea712308452a990b5baa2fd688f0c860 Mon Sep 17 00:00:00 2001 From: Lars Thorsen Date: Tue, 15 Jan 2013 12:06:28 +0100 Subject: [erl_docgen] Add xmllint target for the documentation and fix some DTD errors --- make/otp_release_targets.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'make/otp_release_targets.mk') diff --git a/make/otp_release_targets.mk b/make/otp_release_targets.mk index 0be0a2de56..3ad529685b 100644 --- a/make/otp_release_targets.mk +++ b/make/otp_release_targets.mk @@ -106,6 +106,9 @@ $(HTMLDIR)/$(APPLICATION).eix: $(XML_FILES) $(SPECS_FILES) docs: $(HTMLDIR)/$(APPLICATION).eix +xmllint: $(XML_FILES) + $(XMLLINT) --noout --valid --nodefdtd --loaddtd --path $(DOCGEN)/priv/dtd:$(DOCGEN)/dtd_html_entities $(XML_FILES) + # ---------------------------------------------------- # Local documentation target for testing # ---------------------------------------------------- -- cgit v1.2.3 From fdd89ea15130484cb29c27b18b22c8835108f20f Mon Sep 17 00:00:00 2001 From: Lars Thorsen Date: Fri, 18 Jan 2013 13:29:03 +0100 Subject: [erl_docgen] Fix include path to xmllint --- make/otp_release_targets.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make/otp_release_targets.mk') diff --git a/make/otp_release_targets.mk b/make/otp_release_targets.mk index 3ad529685b..65a2e62979 100644 --- a/make/otp_release_targets.mk +++ b/make/otp_release_targets.mk @@ -107,7 +107,7 @@ $(HTMLDIR)/$(APPLICATION).eix: $(XML_FILES) $(SPECS_FILES) docs: $(HTMLDIR)/$(APPLICATION).eix xmllint: $(XML_FILES) - $(XMLLINT) --noout --valid --nodefdtd --loaddtd --path $(DOCGEN)/priv/dtd:$(DOCGEN)/dtd_html_entities $(XML_FILES) + $(XMLLINT) --noout --valid --nodefdtd --loaddtd --path $(DOCGEN)/priv/dtd:$(DOCGEN)/priv/dtd_html_entities $(XML_FILES) # ---------------------------------------------------- # Local documentation target for testing -- cgit v1.2.3