diff options
author | johnnypops <johnnypops> | 2011-07-03 15:08:32 (GMT) |
---|---|---|
committer | johnnypops <johnnypops> | 2011-07-03 15:08:32 (GMT) |
commit | cdc742b7a465394075c7706cc78ac55c084ae71b (patch) | |
tree | d24ba44dfcac2bd69a6371b53fb20f7e99901734 /Makefile | |
parent | 8b368da08b285d6c79bf153e117c9f2a72001a63 (diff) |
Added code to include the tuxpaint-config i18n files in the bdist-win32 bundle.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -332,6 +332,18 @@ uninstall-i18n: -rm $(IM_PREFIX)/th.im -rm $(IM_PREFIX)/zh_tw.im +##### i18n stuff for Tux Paint Config bundling +TPCONF_PATH:=../tuxpaint-config +TPCPOFILES:=$(wildcard $(TPCONF_PATH)/src/po/*.po) +TPCMOFILES:=$(patsubst $(TPCONF_PATH)/src/po/%.po,$(TPCONF_PATH)/trans/%.mo,$(TPCPOFILES)) +TPCINSTALLED_MOFILES:=$(patsubst $(TPCONF_PATH)/trans/%.mo,$(LOCALE_PREFIX)/%/LC_MESSAGES/tuxpaint-config.mo,$(TPCMOFILES)) + +$(TPCINSTALLED_MOFILES): $(LOCALE_PREFIX)/%/LC_MESSAGES/tuxpaint-config.mo: $(TPCONF_PATH)/trans/%.mo + @echo + @echo "...Installing Tux Paint Config i18n..." + install -D -m 644 $< $@ + +install-tpconf-i18n: $(TPCINSTALLED_MOFILES) # Install the translated text: # We can install *.mo files if they were already generated, or if it can be @@ -504,7 +516,7 @@ bdist-win32: COMPLETIONDIR:=./win32/bdist \ INCLUDE_PREFIX:=./win32/bdist/plugins/include \ MAGIC_PREFIX:=./win32/bdist/plugins \ - windows_ARCH_INSTALL:=install-dlls + windows_ARCH_INSTALL:=install-dlls install-tpconf-i18n # "make bdist-clean" deletes the 'bdist' directory .PHONY: bdist-clean |