]> git.proxmox.com Git - proxmox-i18n.git/commit
buildsys: refactor building and language initialization
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 Jan 2018 08:33:11 +0000 (09:33 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 23 Jan 2018 09:05:59 +0000 (10:05 +0100)
commitee60f2d827341d84ad249e166aaff1fc023205b0
tree59023b8493fdde85f5535200b2d0b6488419ce30
parente063b1cc9b8106b27258eb68383fafbfa84e00c9
buildsys: refactor building and language initialization

rsync everything in a temporary build directory and let buildpackage
handle the rest.

Has the advantage that both packages can be assembled in one
buildpackage run, whereas previous it was called twice.
Further, we can omit the do `make install` manually before calling
dpkg-buildpackage and use .SECONDARY so that make keeps the files.

It's not used anywhere else in our build systems and not really
needed.

If a new language gets added just run:
make init-XY.po

This won't happen that often, so an auto create has not a real use,
especially as the .po file must then be edited anyway.
Also we now can reuse the new 'messages.pot' target in the 'update'
target and a strict separation between initialising a new language
and updating a existing one seems reasonable.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile