summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2018-09-02 00:01:39 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-09-02 00:01:39 -0700
commitd016924cb5087155b66abcf4af05851affa3956d (patch)
treec893133f5a40ab62decdffe97069e96d9308ce9b
parentf9223bbba52a6edaef5d448c6dbd4c1bcf7fe889 (diff)
parent24a8336fd0a745ec52e4056458956dbd99ed2dde (diff)
downloadav-pie-temp.tar.gz
Mark targets as PHONY targetspie-temp
am: 24a8336fd0 Change-Id: I0c69bc878070ea70c40577808d26f89019d18c2b
-rw-r--r--codec2/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/codec2/Android.mk b/codec2/Android.mk
index 948b145..82d739f 100644
--- a/codec2/Android.mk
+++ b/codec2/Android.mk
@@ -10,6 +10,7 @@ C2_OUT_TEMP := $(PRODUCT_OUT)/gen/ETC/Codec2-docs_intermediates
C2_DOXY := $(or $(shell command -v doxygen),\
$(shell command -v /Applications/Doxygen.app/Contents/Resources/doxygen))
+.PHONY: check-doxygen
check-doxygen:
ifndef C2_DOXY
$(error 'doxygen is not available')
@@ -27,18 +28,21 @@ $(C2_OUT_TEMP)/doxy-internal.config: $(C2_ROOT)/docs/doxygen.config
sed 's:\(^OUTPUT_DIRECTORY *= \)out\(.*\)api:\1'$(OUT_DIR)'\2internal:;' \
$(C2_ROOT)/docs/doxygen.config > $@
+.PHONY: docs-api
docs-api: $(C2_OUT_TEMP)/doxy-api.config check-doxygen
echo API docs are building in $(C2_DOCS_ROOT)/api
rm -rf $(C2_DOCS_ROOT)/api
mkdir -p $(C2_DOCS_ROOT)/api
$(C2_DOXY) $(C2_OUT_TEMP)/doxy-api.config
+.PHONY: docs-internal
docs-internal: $(C2_OUT_TEMP)/doxy-internal.config check-doxygen
echo Internal docs are building in $(C2_DOCS_ROOT)/internal
rm -rf $(C2_DOCS_ROOT)/internal
mkdir -p $(C2_DOCS_ROOT)/internal
$(C2_DOXY) $(C2_OUT_TEMP)/doxy-internal.config
+.PHONY: docs-all
docs-all: docs-api docs-internal
include $(call all-makefiles-under,$(call my-dir))