summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-05-05 10:13:49 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-05-05 10:13:49 +0200
commitdb2c381531a130a73ec61f17e96958d434e6c279 (patch)
tree2dd8e603a7cefb50ccc62937fcc09bcdbf7a3237
parent226362003a4705edd15764e0b022d6a3b351fb82 (diff)
fdo#36727: use gb_Deliver_deliver to deliver to OUTDIR
-rw-r--r--svx/AllLangResTarget_svx.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/AllLangResTarget_svx.mk b/svx/AllLangResTarget_svx.mk
index 8b97627569..85c9167b88 100644
--- a/svx/AllLangResTarget_svx.mk
+++ b/svx/AllLangResTarget_svx.mk
@@ -109,8 +109,8 @@ ifeq ($(strip $(WITH_LANG)),)
$(WORKDIR)/inc/svx/globlmn.hrc : $(SRCDIR)/svx/inc/globlmn_tmpl.hrc
echo copying $@
-mkdir -p $(WORKDIR)/inc/svx
- cp $(SRCDIR)/svx/inc/globlmn_tmpl.hrc $(WORKDIR)/inc/svx/globlmn.hrc
- cp $(SRCDIR)/svx/inc/globlmn_tmpl.hrc $(OUTDIR)/inc/svx/globlmn.hrc
+ cp $< $@
+ $(call gb_Deliver_deliver, $@, $(OUTDIR)/inc/svx/globlmn.hrc)
rm -f $(WORKDIR)/inc/svx/lastrun.mk
else
-include $(WORKDIR)/inc/svx/lastrun.mk
@@ -126,7 +126,7 @@ $(WORKDIR)/inc/svx/globlmn.hrc : $(SRCDIR)/svx/inc/globlmn_tmpl.hrc $(gb_SrsPart
$(gb_SrsPartMergeTarget_TRANSEXCOMMAND) \
-p svx \
-i $< -o $@ -m $(gb_SrsPartMergeTarget_SDFLOCATION)/svx/inc/localize.sdf -l all)
- cp $(WORKDIR)/inc/svx/globlmn.hrc $(OUTDIR)/inc/svx/globlmn.hrc
+ $(call gb_Deliver_deliver, $@, $(OUTDIR)/inc/svx/globlmn.hrc)
endif
.PHONY : $(WORKDIR)/inc/svx/globlmn.hrc_clean