8182492: docs bundle needs legal notices for 3rd party libraries distributed for javadoc search
authormchung
Mon, 19 Jun 2017 12:25:37 -0700
changeset 45617 1e5b518f5e14
parent 45616 88a3b1082777
child 45618 74f490ba783a
8182492: docs bundle needs legal notices for 3rd party libraries distributed for javadoc search Reviewed-by: jjg
make/Docs.gmk
--- 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