Version 4.0.2.1, tag libreoffice-4.0.2.1
[LibreOffice.git] / android / CustomTarget_docloader.mk
blobe0d5fbb3ee8daa78358237dfb0b174595413048b
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 sdremote_DIR is
17 # defined. We want that to be built completely first, so that we can
18 # serialize Ant access to Bootstrap, which is used both by DocumentLoader and
19 # sdremote. We don't want one Ant to be cleaning out Bootstrap while another
20 # is building stuff that depends on it. Yeah, this sucks
22 $(docloader_DIR)/done : $(sdremote_DIR)/done
23 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),MAK,1)
24 cd $(SRCDIR)/android/experimental/DocumentLoader && $(MAKE) clean && $(MAKE) all
25 mkdir -p $(SRCDIR)/instsetoo_native/$(INPATH)/bin
26 cp $(SRCDIR)/android/experimental/DocumentLoader/bin/*-debug.apk $(SRCDIR)/instsetoo_native/$(INPATH)/bin
28 # vim: set noet sw=4 ts=4: