summaryrefslogtreecommitdiffstats
path: root/core/droiddoc.mk
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2014-11-08 22:20:03 -0800
committerDan Albert <danalbert@google.com>2014-11-11 14:30:54 -0800
commit954b5bdcf4c3621c10666a09bbfc3fe1cf785950 (patch)
treeef93620abe82f1d26b98d15d5588426cc2debfa6 /core/droiddoc.mk
parent1f6371583ef6ce3a384262ebb291515f5ca3a7b6 (diff)
downloadbuild-954b5bdcf4c3621c10666a09bbfc3fe1cf785950.zip
build-954b5bdcf4c3621c10666a09bbfc3fe1cf785950.tar.gz
build-954b5bdcf4c3621c10666a09bbfc3fe1cf785950.tar.bz2
Make modules depend on their makefile.
This should obviate much of the need for cleanspecs, and also make it unnecessary to continue adding LOCAL_ADDITIONAL_DEPENDENCIES for this sort of thing all over the tree. Change-Id: I97aa8fd280ae868a5f6364f8b7bf3c2fe235d6ce
Diffstat (limited to 'core/droiddoc.mk')
-rw-r--r--core/droiddoc.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/droiddoc.mk b/core/droiddoc.mk
index d3e61d5..41f135c 100644
--- a/core/droiddoc.mk
+++ b/core/droiddoc.mk
@@ -154,7 +154,14 @@ endif
# TODO: not clear if this is used any more
$(full_target): PRIVATE_LOCAL_PATH := $(LOCAL_PATH)
-$(full_target): $(full_src_files) $(droiddoc_templates) $(droiddoc) $(html_dir_files) $(full_java_lib_deps) $(LOCAL_ADDITIONAL_DEPENDENCIES)
+$(full_target): \
+ $(full_src_files) \
+ $(droiddoc_templates) \
+ $(droiddoc) \
+ $(html_dir_files) \
+ $(full_java_lib_deps) \
+ $(LOCAL_MODULE_MAKEFILE) \
+ $(LOCAL_ADDITIONAL_DEPENDENCIES)
@echo Docs droiddoc: $(PRIVATE_OUT_DIR)
$(hide) mkdir -p $(dir $@)
$(call prepare-doc-source-list,$(PRIVATE_SRC_LIST_FILE),$(PRIVATE_JAVA_FILES), \