]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
gettext: make build system look more like automake gettext
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 29 Jan 2009 22:24:45 +0000 (23:24 +0100)
committerChristoph Hellwig <hch@brick.lst.de>
Thu, 29 Jan 2009 22:24:45 +0000 (23:24 +0100)
commit8c053393e88f94fe08db43757b97779b5c4908bd
treecd006ebe99a4bbbea51efcc7410b51315eed1288
parent16875fa667e2de171f1e9f7211c2b5ae54ea9b4b
gettext: make build system look more like automake gettext

configure.in: Find all *.c files using find so no need to update
po/Makefile manually (previous method leads to problems like when
someone adds new .c file and forgets to update Makefile - then
translations are removed after update).

po/Makefile: Use automaticly found .c files. Add update-po target.
Show translation statistics when processing po files. Turn on msgfmt
validation (-c).

How to update translations now?

 $ ./configure
 $ cd po; make update-po
 $ vim your.po
 $ make

Signed-off-by: Arkadiusz Miśkiewicz <arekm@maven.pl>
Reviewed-by: Christoph Hellwig <hch@lst.de>
configure.in
include/builddefs.in
include/buildrules
po/Makefile