diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-03-18 13:40:56 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-03-18 13:40:56 +0100 |
commit | fea8be0ec6cead21a787a424feacc7a45398e630 (patch) | |
tree | 91938fd756f93c3ba9fc17ebbe62fcf575651783 /makefiles/gmake/i18n.mk | |
parent | da1b50e2830452d08649c7c71ce07367b9ad75e6 (diff) | |
download | wolfbones-fea8be0ec6cead21a787a424feacc7a45398e630.tar.gz wolfbones-fea8be0ec6cead21a787a424feacc7a45398e630.tar.bz2 |
more cleanup in i18n.mk and platform.mk
Diffstat (limited to 'makefiles/gmake/i18n.mk')
-rw-r--r-- | makefiles/gmake/i18n.mk | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/makefiles/gmake/i18n.mk b/makefiles/gmake/i18n.mk index 013f5bd..660f62a 100644 --- a/makefiles/gmake/i18n.mk +++ b/makefiles/gmake/i18n.mk @@ -14,11 +14,9 @@ # - target: update-po # - taget: check-po -MSGFMT=msgfmt -MSGMERGE=msgmerge -XGETTEXT=xgettext +.PHONY: init-po update-po all_po clean_po install_po -.PHONY: init-po update-po +ifeq "$(ENABLE_NLS)" "1" PO_FILES = $(addprefix po/, $(addsuffix .po, $(GETTEXT_LANGUAGES))) MO_FILES = $(addprefix po/, $(addsuffix .mo, $(GETTEXT_LANGUAGES))) @@ -102,3 +100,13 @@ install_po: # @cp test_gettext_de.mo locale/de_CH/LC_MESSAGES/test_gettext.mo # @cp test_gettext_de.mo locale/de/LC_MESSAGES/test_gettext.mo # @LANG=$(TEST_LANG) ./test_gettext >/dev/null 2>&1 + +else + +# No NLS supported wanted, provide dummy targets + +all_po: +clean_po: +install_po: + +endif |