diff options
author | Bill Napier <napier@google.com> | 2010-08-19 22:47:36 -0700 |
---|---|---|
committer | Bill Napier <napier@google.com> | 2010-08-19 23:02:38 -0700 |
commit | 16c864153ef53abc3c64f50877225944c25afacd (patch) | |
tree | 49b3714541e9ee10d375cfc08674daebd3f570fb | |
parent | bee24b884b4f53cc55ed544d5dfc3da381ad5970 (diff) | |
download | sdk-16c864153ef53abc3c64f50877225944c25afacd.zip sdk-16c864153ef53abc3c64f50877225944c25afacd.tar.gz sdk-16c864153ef53abc3c64f50877225944c25afacd.tar.bz2 |
Create MonkeyRunner docs target to generate SDK docs.
Change-Id: Id84e1aec8965ac0efc58c25234855960e826fb3b
-rw-r--r-- | monkeyrunner/src/Android.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/monkeyrunner/src/Android.mk b/monkeyrunner/src/Android.mk index f06f4ce..11c7cc0 100644 --- a/monkeyrunner/src/Android.mk +++ b/monkeyrunner/src/Android.mk @@ -29,3 +29,18 @@ LOCAL_JAVA_RESOURCE_DIRS := resources LOCAL_MODULE := monkeyrunner include $(BUILD_HOST_JAVA_LIBRARY) + +include $(CLEAR_VARS) + +MR_GEN_DOC_DIR := $(OUT_DOCS)/gen/guide/developing/tools +MONKEYRUNNER_GENERATED_DOC := $(MR_GEN_DOC_DIR)/monkeyrunner-api.jd + +HELP_PY_PATH := $(TOP)/sdk/monkeyrunner/scripts/help.py + +# Setup documentation generation so we can include the MonkeyRunner +# docs in the SDK. +$(MONKEYRUNNER_GENERATED_DOC): monkeyrunner + mkdir -p $(MR_GEN_DOC_DIR) + $(HOST_OUT)/bin/monkeyrunner $(HELP_PY_PATH) sdk-docs $< + +ALL_GENERATED_DOCS += $(MONKEYRUNNER_GENERATED_DOC) |