diff options
author | jan Iversen <jani@libreoffice.org> | 2018-01-18 11:38:16 +0100 |
---|---|---|
committer | jan Iversen <jani@libreoffice.org> | 2018-01-18 11:39:29 +0100 |
commit | bccb5c54cdcaaea09ee8a3929c7bcc4b94972c11 (patch) | |
tree | 3fefd1e9fc19c7468916fa2c2da9b5bff30bb63e /ios | |
parent | 1abd6be9d8822c40293b412230c175a1d2731fb0 (diff) |
iOS, avoid racing conflict in dependencies
WORDIR might be deleted, but generated kept, situation solved
Change-Id: I5847d590affa7f80ef734bf314dbee9a6fc81669
Diffstat (limited to 'ios')
-rw-r--r-- | ios/CustomTarget_iOS_setup.mk | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/ios/CustomTarget_iOS_setup.mk b/ios/CustomTarget_iOS_setup.mk index 28636c7f0759..81dac6686fbb 100644 --- a/ios/CustomTarget_iOS_setup.mk +++ b/ios/CustomTarget_iOS_setup.mk @@ -20,19 +20,22 @@ $(call gb_CustomTarget_get_target,ios/iOS_setup): $(IOSGEN)/native-code.h #- Generate dynamic files --------------------------------------------------- -$(IOSGEN)/native-code.h: $(BUILDDIR)/config_host.mk \ - $(SRCDIR)/ios/CustomTarget_iOS_setup.mk \ - $(SRCDIR)/solenv/bin/native-code.py +$(IOSGEN) $(WORKDIR)/ios: $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ENV,2) - - # prepare directories mkdir -p $(IOSGEN) $(IOSRES) $(IOSRES)/services \ $(IOSRES)/share/config $(IOSRES)/share/filter $(IOSRES)/program \ $(IOSGEN)/simulator \ $(IOSGEN)/debug \ $(IOSGEN)/release \ $(IOSGEN) $(WORKDIR)/ios; - # generate file with call declarations + + + +$(IOSGEN)/native-code.h: $(BUILDDIR)/config_host.mk \ + $(SRCDIR)/ios/CustomTarget_iOS_setup.mk \ + $(SRCDIR)/solenv/bin/native-code.py + $(IOSGEN)/ios: + $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ENV,2) $(SRCDIR)/solenv/bin/native-code.py \ -C -g core -g writer -g calc -g draw -g edit \ > $(IOSGEN)/native-code.h |