bump product version to 4.1.6.2
[LibreOffice.git] / android / CustomTarget_docloader.mk
blobbadcabd1b1cc9b627bbd53c7a00eae582cb1d4f8
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 $(eval $(call gb_CustomTarget_CustomTarget,android/docloader))
11 docloader_DIR := $(call gb_CustomTarget_get_workdir,android/experimental/DocumentLoader)
13 $(call gb_CustomTarget_get_target,android/docloader) : \
14 $(docloader_DIR)/done
16 # We know that CustomTarget_sdremote.mk is included first, so
17 # sdremote_DIR is defined. We want that to be built completely first,
18 # so that we can serialize Ant access to Bootstrap, which is used both
19 # by DocumentLoader and sdremote. We don't want one Ant to be cleaning
20 # out Bootstrap while another is building stuff that depends on it.
21 # Yeah, this sucks
23 $(docloader_DIR)/done : $(sdremote_DIR)/done $(call gb_Postprocess_get_target,AllModulesButInstsetNative)
24 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),MAK,2)
25 cd $(SRCDIR)/android/experimental/DocumentLoader && $(MAKE) all
26 # If SRCDIR==BUILDDIR, copy to $(SRCDIR)/instsetoo_native/$(INPATH)/bin as that is where the tinderbox build script
27 # still looks for the .apk, and we want fresh daily builds to be uploaded.
28 if test $(SRCDIR) = $(BUILDDIR); then \
29 mkdir -p $(SRCDIR)/instsetoo_native/$(INPATH)/bin; \
30 cp $(SRCDIR)/android/experimental/DocumentLoader/bin/*-debug.apk $(SRCDIR)/instsetoo_native/$(INPATH)/bin; \
33 $(call gb_CustomTarget_get_clean_target,android/docloader) :
34 $(call gb_Output_announce,$(subst $(WORKDIR)/Clean/,,$@),$(false),MAK,2)
35 cd $(SRCDIR)/android/experimental/DocumentLoader && $(MAKE) clean
37 # vim: set noet sw=4 ts=4: