Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / external / languagetool / ExternalProject_languagetool.mk
blob0d96f4963acf7ec2e076615a5ab3771e46ac75c9
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/.
10 $(eval $(call gb_ExternalProject_ExternalProject,languagetool))
12 $(eval $(call gb_ExternalProject_register_targets,languagetool,\
13 build \
16 $(eval $(call gb_ExternalProject_use_jars,languagetool,\
17 juh \
18 jurt \
19 ridl \
20 unoil \
23 $(call gb_ExternalProject_get_state_target,languagetool,build) :
24 cd "$(call gb_UnpackedTarball_get_dir,languagetool)" && \
25 $(ICECREAM_RUN) "$(ANT)" \
26 $(if $(verbose),-v,-q) \
27 -f build.xml \
28 -Dbuild.label="build-$(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)" \
29 -Dsource=$(JAVA_SOURCE_VER) \
30 -Dtarget=$(JAVA_TARGET_VER) \
31 $(if $(debug),-Dbuild.debug="on") \
32 -Dext.ooo.juh.lib="$(call gb_Jar_get_target,juh)" \
33 -Dext.ooo.jurt.lib="$(call gb_Jar_get_target,jurt)" \
34 -Dext.ooo.ridl.lib="$(call gb_Jar_get_target,ridl)" \
35 -Dext.ooo.unoil.lib="$(call gb_Jar_get_target,unoil)" \
36 dist && \
37 touch $@
39 # vim: set noet sw=4 ts=4: