From f68df147c2ce1d5d19b5e7b60be4364b73237a99 Mon Sep 17 00:00:00 2001 From: Mandy Chung Date: Mon, 19 Jun 2017 12:25:37 -0700 Subject: [PATCH] 8182492: docs bundle needs legal notices for 3rd party libraries distributed for javadoc search Reviewed-by: jjg --- make/Docs.gmk | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/make/Docs.gmk b/make/Docs.gmk index 1f1adf4add0..662606ee1b5 100644 --- a/make/Docs.gmk +++ b/make/Docs.gmk @@ -456,6 +456,15 @@ $(eval $(call SetupCopyFiles, COPY_GLOBAL_RESOURCES, \ )) JDK_INDEX_TARGETS += $(COPY_GLOBAL_RESOURCES) +# Copy the legal notices distributed with the docs bundle +DOCS_LEGAL_NOTICES := jquery.md jszip.md pako.md +$(eval $(call SetupCopyFiles, COPY_DOCS_LEGAL_NOTICES, \ + SRC := $(LANGTOOLS_TOPDIR)/src/jdk.javadoc/share/legal, \ + FILES := $(DOCS_LEGAL_NOTICES), \ + DEST := $(DOCS_OUTPUTDIR)/legal, \ +)) +JDK_INDEX_TARGETS += $(COPY_DOCS_LEGAL_NOTICES) + ################################################################################ # Copy JDK specs files