From c646bbfbd6e5d9ea1826199ca43aae1f922074dc Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Fri, 22 Feb 2013 09:59:17 -0800 Subject: [PATCH] We shouldn't use temporary variable in the build recipe. Use $@ instead. Change-Id: Ida0960a453b3701383a31f698c3163a297c4bce5 (cherry picked from commit b8a256a1facdae5b803335daf3c02af159749ab4) --- core/droiddoc.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/droiddoc.mk b/core/droiddoc.mk index e31296541d..fc7fabcd7d 100644 --- a/core/droiddoc.mk +++ b/core/droiddoc.mk @@ -157,7 +157,7 @@ html_dir_files := $(shell find $(LOCAL_PATH)/$(LOCAL_DROIDDOC_HTML_DIR) -type f) $(full_target): $(full_src_files) $(droiddoc_templates) $(droiddoc) $(html_dir_files) $(full_java_lib_deps) $(LOCAL_ADDITIONAL_DEPENDENCIES) @echo Docs droiddoc: $(PRIVATE_OUT_DIR) - $(hide) mkdir -p $(dir $(full_target)) + $(hide) mkdir -p $(dir $@) $(call prepare-doc-source-list,$(PRIVATE_SRC_LIST_FILE),$(PRIVATE_JAVA_FILES), \ $(PRIVATE_SOURCE_INTERMEDIATES_DIR) $(PRIVATE_ADDITIONAL_JAVA_DIR)) $(hide) ( \ @@ -189,7 +189,7 @@ else ## $(full_target): $(full_src_files) $(full_java_lib_deps) @echo Docs javadoc: $(PRIVATE_OUT_DIR) - @mkdir -p $(dir $(full_target)) + @mkdir -p $(dir $@) $(call prepare-doc-source-list,$(PRIVATE_SRC_LIST_FILE),$(PRIVATE_JAVA_FILES), \ $(PRIVATE_SOURCE_INTERMEDIATES_DIR) $(PRIVATE_ADDITIONAL_JAVA_DIR)) $(hide) ( \