summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-12-02 10:51:37 +0100
committerDavid Tardon <dtardon@redhat.com>2012-12-02 10:56:48 +0100
commitc2eca359af3eb88ebde341df5b87c24e178f5d5c (patch)
tree349c09453bbb3514bd67332f6be3c16702a6ee56 /officecfg
parentf02ac6e7c8da9e6e3b2263f028637723a8cf4829 (diff)
move setting up of ext. executables out of gbuild.mk
Change-Id: Icacd44abfa5bf5f75f0ee719b39fba6821976a8a
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/CustomTarget_registry.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/officecfg/CustomTarget_registry.mk b/officecfg/CustomTarget_registry.mk
index c655ff3c8203..c947aa67129c 100644
--- a/officecfg/CustomTarget_registry.mk
+++ b/officecfg/CustomTarget_registry.mk
@@ -46,9 +46,10 @@ officecfg_xsltparams=$(if $(filter-out $(lastword $1),$1),$(call officecfg_xsltp
$(call gb_CustomTarget_get_workdir,officecfg/registry)/%.hxx: \
$(SRCDIR)/officecfg/registry/schema/org/openoffice/%.xcs \
- $(SRCDIR)/officecfg/registry/cppheader.xsl | $(gb_XSLTPROCTARGET)
+ $(SRCDIR)/officecfg/registry/cppheader.xsl\
+ | $(call gb_ExternalExecutable_get_deps,xsltproc)
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),XSL,1)
$(call gb_Helper_abbreviate_dirs, \
mkdir -p $(dir $@) && \
- $(gb_XSLTPROC) --nonet $(call officecfg_xsltparams,$(subst /, ,$*)) \
+ $(call gb_ExternalExecutable_get_command,xsltproc) --nonet $(call officecfg_xsltparams,$(subst /, ,$*)) \
-o $@ $(SRCDIR)/officecfg/registry/cppheader.xsl $<)