# HG changeset patch # User erikj # Date 1382088869 -7200 # Node ID 17d195bd56fc87b1803de3bb25ad9f9a6019f883 # Parent 5b4f14990dd17fec53fb881629b7d19d8cf60147 8025869: make docs doesn't regenerate docs correctly after changing API doc comments in jaxp sources Reviewed-by: ihse, tbell diff -r 5b4f14990dd1 -r 17d195bd56fc common/makefiles/JavaCompilation.gmk --- a/common/makefiles/JavaCompilation.gmk Fri Oct 18 10:41:18 2013 +0200 +++ b/common/makefiles/JavaCompilation.gmk Fri Oct 18 11:34:29 2013 +0200 @@ -266,8 +266,12 @@ endif # Find all files in the source tree. - $1_ALL_SRCS := $$(call not-containing,_the., \ - $$(filter $$(addprefix %,$$($1_SUFFIXES)),$$(call CacheFind,$$($1_FIND_LIST)))) + $1_ALL_SRCS := $$(call not-containing,_the.,$$(call CacheFind,$$($1_FIND_LIST))) + + # Filter on suffixes if set + ifneq ($$($1_SUFFIXES),) + $1_ALL_SRCS := $$(filter $$(addprefix %, $$($1_SUFFIXES)), $$($1_ALL_SRCS)) + endif ifneq ($$($1_INCLUDES),) ifneq ($$($1_SUFFIXES),)