summaryrefslogtreecommitdiff
path: root/onlineupdate
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-02 23:52:51 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-08 05:23:30 +0200
commit4ec3a5e7c2f63136cb48356d8d44703bfe0e3d9e (patch)
treea542bcea2c1706cae89b2a3530016d3dbf898016 /onlineupdate
parent74d9b711d71cbaf4f853559211f6525db4a4b5db (diff)
the custom target needs to depend on python
Change-Id: Ie9356a4922f7d01c674ec50bb30cd70e73469055 Reviewed-on: https://gerrit.libreoffice.org/38549 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'onlineupdate')
-rw-r--r--onlineupdate/CustomTarget_generated.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/onlineupdate/CustomTarget_generated.mk b/onlineupdate/CustomTarget_generated.mk
index 346629976328..266b2db98a97 100644
--- a/onlineupdate/CustomTarget_generated.mk
+++ b/onlineupdate/CustomTarget_generated.mk
@@ -12,13 +12,15 @@ $(eval $(call gb_CustomTarget_CustomTarget,onlineupdate/generated))
onlineupdate_INC := $(call gb_CustomTarget_get_workdir,onlineupdate/generated)/onlineupdate
$(onlineupdate_INC)/primaryCert.h : \
- $(SRCDIR)/onlineupdate/source/update/updater/gen_cert_header.py
+ $(SRCDIR)/onlineupdate/source/update/updater/gen_cert_header.py \
+ $(call gb_ExternalExecutable_get_dependencies,python)
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),build,,1)
mkdir -p $(dir $@)
$(call gb_ExternalExecutable_get_command,python) $(SRCDIR)/onlineupdate/source/update/updater/gen_cert_header.py "primaryCertData" $(UPDATE_CONFIG) > $(onlineupdate_INC)/primaryCert.h #"$(UPDATE_CONFIG)"
$(onlineupdate_INC)/secondaryCert.h : \
- $(SRCDIR)/onlineupdate/source/update/updater/gen_cert_header.py
+ $(SRCDIR)/onlineupdate/source/update/updater/gen_cert_header.py \
+ $(call gb_ExternalExecutable_get_dependencies,python)
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),build,,1)
mkdir -p $(dir $@)
$(call gb_ExternalExecutable_get_command,python) $(SRCDIR)/onlineupdate/source/update/updater/gen_cert_header.py "secondaryCertData" $(UPDATE_CONFIG) > $(onlineupdate_INC)/secondaryCert.h #"$(UPDATE_CONFIG)"