From 43021dd47db9da1e15f6a214be50f2b60733fb6b Mon Sep 17 00:00:00 2001 From: Mike Ritter <> Date: Wed, 22 Apr 2009 10:00:01 -0700 Subject: [PATCH] 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 --- pdk/Pdk.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdk/Pdk.mk b/pdk/Pdk.mk index 584eccf63..29a08a3a1 100644 --- a/pdk/Pdk.mk +++ b/pdk/Pdk.mk @@ -101,7 +101,7 @@ pdk_templates := $(shell find $(pdk_templates_dir) -type f) # copy-one-file defines the actual rule. $(foreach template,$(pdk_templates), \ $(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 all_copied_pdk_templates: $(_chTo)) \ )