bump product version to 4.1.6.2
[LibreOffice.git] / languagetool / ExternalProject_languagetool.mk
blob1035bb612c089a228725ff687923f54daa122010
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 $(call gb_ExternalProject_get_state_target,languagetool,build) : \
17 $(call gb_Jar_get_outdir_target,juh) \
18 $(call gb_Jar_get_outdir_target,jurt) \
19 $(call gb_Jar_get_outdir_target,ridl) \
20 $(call gb_Jar_get_outdir_target,unoil)
21 cd "$(call gb_UnpackedTarball_get_dir,languagetool)" && \
22 $(ICECREAM_RUN) "$(ANT)" \
23 -q \
24 -f build.xml \
25 -Dbuild.label="build-$(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)" \
26 $(if $(filter yes,$(JAVACISGCJ))\
27 ,-Dbuild.compiler=gcj \
28 ,-Dant.build.javac.source=$(JAVA_SOURCE_VER) \
29 -Dant.build.javac.target=$(JAVA_TARGET_VER) \
30 ) \
31 $(if $(debug),-Dbuild.debug="on") \
32 -Dsolver.ooo.dir="$(OUTDIR_FOR_BUILD)/bin" dist && \
33 touch $@
35 # vim: set noet sw=4 ts=4: