diff options
author | David Tardon <dtardon@redhat.com> | 2011-04-17 18:54:33 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-04-17 19:06:09 +0200 |
commit | 9c778f8527d0edb436c4f705691831dd88c92243 (patch) | |
tree | b75f0d9d3d724c6637bff6a5649584d7ec5891f6 /solenv/gbuild/TargetLocations.mk | |
parent | do not ship Letter Wizard templates twice fdo#35722 (diff) | |
download | core-9c778f8527d0edb436c4f705691831dd88c92243.tar.gz core-9c778f8527d0edb436c4f705691831dd88c92243.zip |
add support for resource templates
That is, resource files containing localizable data that are included
from other resource files. They have filenames like foo_tmpl.hrc
(sometimes foo_tmpl.src) and are included as foo.hrc . They were handled
by listing them in LOCALIZE_ME variable in the old build system.
Diffstat (limited to 'solenv/gbuild/TargetLocations.mk')
-rw-r--r-- | solenv/gbuild/TargetLocations.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/solenv/gbuild/TargetLocations.mk b/solenv/gbuild/TargetLocations.mk index 486a5b6d1218..185261c0d6c2 100644 --- a/solenv/gbuild/TargetLocations.mk +++ b/solenv/gbuild/TargetLocations.mk @@ -82,6 +82,8 @@ gb_SdiTarget_get_target = $(WORKDIR)/SdiTarget/$(1) gb_SrsPartMergeTarget_get_target = $(WORKDIR)/SrsPartMergeTarget/$(1) gb_SrsPartTarget_get_target = $(WORKDIR)/SrsPartTarget/$(1) gb_SrsTarget_get_target = $(WORKDIR)/SrsTarget/$(1).srs +gb_SrsTemplatePartTarget_get_target = $(WORKDIR)/inc/$(firstword $(subst /, ,$(1)))/$(subst _tmpl,,$(notdir $(1))) +gb_SrsTemplateTarget_get_target = $(WORKDIR)/SrsTemplateTarget/$(1) define gb_Library_get_external_headers_target $(patsubst $(1):%,$(WORKDIR)/ExternalHeaders/Library/%,$(filter $(1):%,$(gb_Library_FILENAMES))) @@ -112,6 +114,7 @@ $(eval $(call gb_Helper_make_clean_targets,\ ResTarget \ SdiTarget \ SrsTarget \ + SrsTemplateTarget \ CppunitTest \ CustomTarget \ )) |