diff options
author | Joe Onorato <joeo@android.com> | 2010-09-01 10:39:50 -0700 |
---|---|---|
committer | Joe Onorato <joeo@android.com> | 2010-09-01 10:39:50 -0700 |
commit | aaa5d11cb3c67a345572496197c688c3e48cd670 (patch) | |
tree | 069bdaf17be3ecfdd3d98ff804751bc96418e6ac /core/droiddoc.mk | |
parent | fe648a9f5807021b5241c38544981cf660ca2aa1 (diff) | |
download | build-aaa5d11cb3c67a345572496197c688c3e48cd670.zip build-aaa5d11cb3c67a345572496197c688c3e48cd670.tar.gz build-aaa5d11cb3c67a345572496197c688c3e48cd670.tar.bz2 |
Make it so if you say LOCAL_UNINSTALLABLE_MODULE := true for a docs build, it won't try to dist it.
Change-Id: Iff8a7b6438d392c5b4c425337b84cfa9bc90f282
Diffstat (limited to 'core/droiddoc.mk')
-rw-r--r-- | core/droiddoc.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/droiddoc.mk b/core/droiddoc.mk index 11d8f58..3e02a94 100644 --- a/core/droiddoc.mk +++ b/core/droiddoc.mk @@ -210,6 +210,8 @@ ALL_DOCS += $(full_target) .PHONY: $(LOCAL_MODULE)-docs $(LOCAL_MODULE)-docs : $(full_target) +ifeq ($(strip $(LOCAL_UNINSTALLABLE_MODULE)),) + # Define a rule to create a zip of these docs. out_zip := $(OUT_DOCS)/$(LOCAL_MODULE)-docs.zip $(out_zip): PRIVATE_DOCS_DIR := $(out_dir) @@ -220,3 +222,5 @@ $(out_zip): $(full_target) $(hide) ( F=$$(pwd)/$@ ; cd $(PRIVATE_DOCS_DIR) && zip -rq $$F * ) $(call dist-for-goals,docs,$(out_zip)) + +endif |