summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-02-16 14:29:49 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-02-16 18:07:24 +0100
commit7b468e1d11b41678232dc05f80c853165fbbacc2 (patch)
tree91abad86c378000e929ac23dc8af4879ba8c08c9 /odk
parent7acca8bfe3c1e73ad1b52687370c04d319a88588 (diff)
Start each run of CustomTarget_odk/build-examples with a clean slate
Change-Id: Icf6a12254b32c6fcdb7e9cbe1057c73907cf3005 Reviewed-on: https://gerrit.libreoffice.org/49860 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'odk')
-rw-r--r--odk/CustomTarget_build-examples.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/odk/CustomTarget_build-examples.mk b/odk/CustomTarget_build-examples.mk
index f7dc1db1e30d..d8d64d353927 100644
--- a/odk/CustomTarget_build-examples.mk
+++ b/odk/CustomTarget_build-examples.mk
@@ -93,6 +93,7 @@ ifneq ($(gb_SUPPRESS_TESTS),)
@true
else
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),CHK,1)
+ rm -fr $(call gb_CustomTarget_get_workdir,odk/build-examples)/{out,user}
ifeq (MACOSX,$(OS))
$(eval ODK_BUILD_SHELL := $(shell $(gb_MKTEMP)))
cp /bin/sh "$(ODK_BUILD_SHELL)"