make/Docs.gmk
changeset 45617 1e5b518f5e14
parent 45616 88a3b1082777
child 45775 e333a1979702
child 46236 1b8fd7adc9cc
--- 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