AI 147383: am: CL 147382 am: CL 147379 copy pdk templates sub-directories also.

Original author: mritter
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 147383
This commit is contained in:
Mike Ritter
2009-04-22 10:00:01 -07:00
committed by The Android Open Source Project
parent c66b5fac62
commit 43021dd47d

View File

@@ -101,7 +101,7 @@ pdk_templates := $(shell find $(pdk_templates_dir) -type f)
# copy-one-file defines the actual rule. # copy-one-file defines the actual rule.
$(foreach template,$(pdk_templates), \ $(foreach template,$(pdk_templates), \
$(eval _chFrom := $(template)) \ $(eval _chFrom := $(template)) \
$(eval _chTo := $(pdk_docs_dest_dir)/$(notdir $(template))) \ $(eval _chTo := $(pdk_docs_dest_dir)/$(patsubst $(pdk_templates_dir)/%,%,$(template))) \
$(eval $(call copy-one-header,$(_chFrom),$(_chTo))) \ $(eval $(call copy-one-header,$(_chFrom),$(_chTo))) \
$(eval all_copied_pdk_templates: $(_chTo)) \ $(eval all_copied_pdk_templates: $(_chTo)) \
) )