Commit Graph

20 Commits

Author SHA1 Message Date
Georg Baum
2d708bd7cf Simplify .po file generation
We can generate the file with the cirrect line endings directly instead of
calling a helper script to convert them.
2016-05-29 17:55:44 -04:00
Kornel Benko
7bc45a9812 Addd parameter to xgettext to also parse utf-8 chars. 2015-12-05 01:35:19 +01:00
Kornel Benko
ab4ad882fa Cmake-gmo creation: Recreate ${_lyxname}.fmt.pot only if it really changes 2014-10-24 18:53:58 +02:00
Kornel Benko
61f0634abf Cmake build: No need to recreate lyx.pot on every make call.
We can check if imput data for 'gettext' command has changed from previous call.
If not, there is no need to recreate lyx.pot, which we only differ in
	"POT-Creation-Date: ...."
2014-10-23 16:49:41 +02:00
Kornel Benko
b66f2a355f CMake: Optimize use of target update-gmo 2014-02-04 17:42:26 +01:00
Vincent van Ravesteijn
f63221aba4 CMake: Add target update-gmo
This target will update the gmo files if and only if the associated
po-file is modified. To determine whether a file is modified, 'git
status --porcelain' is used.

This follows up on commit 06782542.
2014-02-03 20:07:12 +01:00
Kornel Benko
0678254241 Cmake build: Add targets to selectively create .gmo files 2014-01-05 10:04:56 +01:00
Kornel Benko
22d52f5f08 cmake: Use provided gmo-files if platform lacks python or gettext tools.
Running lyx from the build-directory now searches for the gmo-files
first in the build dir and then in source dir
2013-06-02 11:38:27 +02:00
Vincent van Ravesteijn
0cd8c03d17 CMake: Put projects into subdirs
This patch puts all projects into subfolders (at least for MSVS). In this
way, there is a better overview (especially if the number of test projects
will be increasing).
2012-12-15 11:02:06 +01:00
Kornel Benko
d91d6e3343 Cmake build:
Cleanup the use of path-variables
2012-11-02 13:33:22 +01:00
Kornel Benko
2626821ee2 Cmake build:
Modifications needed to work also if the path to build-dir
contains spaces. (Tested on linux)
2012-10-23 13:23:07 +02:00
Kornel Benko
84ef6f391f Stop handling file 'installed_translations' in cmake-build 2012-09-08 18:07:43 +02:00
Kornel Benko
5464189898 Add latexfonts_l10.pot to cmake build 2012-08-16 22:36:32 +02:00
Kornel Benko
0cdc8c3aca Mimic the autoconf behaviour to select only
configured GUI languages.
Data are assembled at "cmake" time only
2012-07-20 09:47:22 +02:00
Kornel Benko
1faaa3d4af Typo + missing dependencies in cmake build 2012-07-19 13:52:07 +02:00
Kornel Benko
c2473039cd Port handling of installed languages (commit ed1515ef69)
to cmake build
2012-07-19 11:54:22 +02:00
Peter Kümmel
6fd4bb443e cmake fix po generation/update: msguniq.exe doesn't like dos line endings (produces broken pot files)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39913 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-21 23:14:35 +00:00
Kornel Benko
c06ae08067 Reenable use of Package.cpp as source to translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39784 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-29 11:55:29 +00:00
Kornel Benko
41f9efb519 Changed update_po_files - target to 'update-po'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38774 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-15 21:22:07 +00:00
Peter Kümmel
897edc10c0 cmake: move CMakeLists.txt into source dir (multiple steps)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38691 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-10 17:44:41 +00:00