office-gobmx/l10ntools/Executable_pocheck.mk
Andras Timar 72576f439a fdo#67786 pocheck tool for checking translations
Pootle has many checks, but there are cases which are not covered.
Therefore I wrote a tool which checked three types of translation
errors:

1. Unique style names.
2. Unique spreadsheet function names.
3. Missing trailing '|' in Windows installer translation.

Usage: make cmd cmd=solver/*/bin/pocheck

It checks all languages and prints the report to stdout.

Change-Id: I89aad66ea41c0ebe4a6f45beaaf86afd1a6439cc
2013-08-20 13:29:39 +02:00

34 lines
828 B
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Executable_Executable,pocheck))
$(eval $(call gb_Executable_set_include,pocheck,\
-I$(SRCDIR)/l10ntools/inc \
$$(INCLUDE) \
))
$(eval $(call gb_Executable_use_libraries,pocheck,\
sal \
))
$(eval $(call gb_Executable_use_static_libraries,pocheck,\
transex \
))
$(eval $(call gb_Executable_add_exception_objects,pocheck,\
l10ntools/source/pocheck \
))
$(eval $(call gb_Executable_use_externals,pocheck,\
boost_headers \
libxml2 \
))
# vim:set noet sw=4 ts=4: