8178278: Move Standard Algorithm Names document to specs directory
authorihse
Wed, 10 May 2017 09:02:51 +0200
changeset 45095 704e6f5e9b6d
parent 44991 f87535f0217d
child 45096 6e9ec4d965f2
8178278: Move Standard Algorithm Names document to specs directory Reviewed-by: erikj
make/Javadoc.gmk
--- a/make/Javadoc.gmk	Tue May 09 14:31:57 2017 +0200
+++ b/make/Javadoc.gmk	Wed May 10 09:02:51 2017 +0200
@@ -367,13 +367,15 @@
 
 $(foreach m, $(ALL_MODULES), \
   $(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \
-  $(if $(SPECS_$m), \
-    $(eval $(call SetupCopyFiles, COPY_$m, \
-        SRC := $(SPECS_$m), \
-        FILES := $(filter $(COPY_SPEC_FILTER), $(call CacheFind, $(SPECS_$m))), \
-        DEST := $(JAVADOC_OUTPUTDIR)/specs/, \
-    )) \
-    $(eval JDK_SPECS_TARGETS += $(COPY_$m)) \
+  $(foreach d, $(SPECS_$m), \
+    $(if $(filter $(COPY_SPEC_FILTER), $(call CacheFind, $d)), \
+      $(eval $(call SetupCopyFiles, COPY_$m, \
+          SRC := $d, \
+          FILES := $(filter $(COPY_SPEC_FILTER), $(call CacheFind, $d)), \
+          DEST := $(JAVADOC_OUTPUTDIR)/specs/, \
+      )) \
+      $(eval JDK_SPECS_TARGETS += $(COPY_$m)) \
+    ) \
   ) \
 )