changeset 2673:985eae459953

8182492: docs bundle needs legal notices for 3rd party libraries distributed for javadoc search Reviewed-by: jjg
author mchung
date Mon, 19 Jun 2017 12:25:37 -0700
parents 7df4f16bfa8f
children 8f7227c6012b
files make/Docs.gmk
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/Docs.gmk	Mon Jun 19 18:20:42 2017 +0200
+++ b/make/Docs.gmk	Mon Jun 19 12:25:37 2017 -0700
@@ -456,6 +456,15 @@
 ))
 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