Author: ivanovic
Date: Sun Mar 20 16:34:34 2011
New Revision: 48955
URL: http://svn.gna.org/viewcvs/wesnoth?rev=48955&view=rev
Log:
try to use the same checks in the old (and probably not used anymore) makefiles
for the po4a domains as used by scons
add the checks to the cmake mo stuff, too
Modified:
trunk/po/CMakeLists.txt
trunk/po/wesnoth-manpages/Makefile
trunk/po/wesnoth-manual/Makefile
Modified: trunk/po/CMakeLists.txt
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/po/CMakeLists.txt?rev=48955&r1=48954&r2=48955&view=diff
==============================================================================
--- trunk/po/CMakeLists.txt (original)
+++ trunk/po/CMakeLists.txt Sun Mar 20 16:34:34 2011
@@ -213,9 +213,11 @@
if(ENABLE_NLS)
+ set(GETTEXT_MSGFMT_PARAMETER --check-format --check-domain )
+
if(ENABLE_POT_UPDATE_TARGET)
# Only set the verbose flag for maintainers.
- set(GETTEXT_MSGFMT_PARAMETER -v)
+ set(GETTEXT_MSGFMT_PARAMETER -v ${GETTEXT_MSGFMT_PARAMETER} )
endif(ENABLE_POT_UPDATE_TARGET)
foreach(LINGUA ${LINGUAS})
Modified: trunk/po/wesnoth-manpages/Makefile
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/po/wesnoth-manpages/Makefile?rev=48955&r1=48954&r2=48955&view=diff
==============================================================================
--- trunk/po/wesnoth-manpages/Makefile (original)
+++ trunk/po/wesnoth-manpages/Makefile Sun Mar 20 16:34:34 2011
@@ -26,5 +26,5 @@
# generate .gmo files for po4a manpages
.po.gmo:
@lang=`echo $* | sed -e 's,.*/,,'`; \
- echo "$(MSGFMT) -c --statistics -o /dev/null $${lang}.po"; \
- $(MSGFMT) -c --statistics -o /dev/null $${lang}.po
+ echo "$(MSGFMT) --check-format --check-domain --statistics -o /dev/null
$${lang}.po"; \
+ $(MSGFMT) --check-format --check-domain --statistics -o /dev/null
$${lang}.po
Modified: trunk/po/wesnoth-manual/Makefile
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/po/wesnoth-manual/Makefile?rev=48955&r1=48954&r2=48955&view=diff
==============================================================================
--- trunk/po/wesnoth-manual/Makefile (original)
+++ trunk/po/wesnoth-manual/Makefile Sun Mar 20 16:34:34 2011
@@ -26,5 +26,5 @@
# generate .gmo files for po4a manpages
.po.gmo:
@lang=`echo $* | sed -e 's,.*/,,'`; \
- echo "$(MSGFMT) -c --statistics -o /dev/null $${lang}.po"; \
- $(MSGFMT) -c --statistics -o /dev/null $${lang}.po
+ echo "$(MSGFMT) --check-format --check-domain --statistics -o /dev/null
$${lang}.po"; \
+ $(MSGFMT) --check-format --check-domain --statistics -o /dev/null
$${lang}.po
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits