summaryrefslogtreecommitdiff
path: root/Makefile.bundle.in
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-04-08 14:29:31 +0000
committerrubidium <rubidium@openttd.org>2012-04-08 14:29:31 +0000
commit1e817ae2412bc0f00129688c271c7d4f23d33b74 (patch)
tree1f93a49beb8049f7110165124997c713b484f11a /Makefile.bundle.in
parentb57bef91a12eb78dcd1fb3f106463b9081f09ef0 (diff)
downloadopenttd-1e817ae2412bc0f00129688c271c7d4f23d33b74.tar.xz
(svn r24100) -Fix: also provide translated comments in the desktop file without language name postfix
Diffstat (limited to 'Makefile.bundle.in')
-rw-r--r--Makefile.bundle.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.bundle.in b/Makefile.bundle.in
index c49440ede..756f208e6 100644
--- a/Makefile.bundle.in
+++ b/Makefile.bundle.in
@@ -85,7 +85,7 @@ endif
$(Q)cp "$(BIN_DIR)/scripts/"* "$(BUNDLE_DIR)/scripts/"
ifdef MENU_DIR
$(Q)cp "$(ROOT_DIR)/media/openttd.desktop" "$(BUNDLE_DIR)/media/"
- $(Q)$(AWK) -f "$(ROOT_DIR)/media/openttd.desktop.translation.awk" "$(SRC_DIR)/lang/"*.txt | $(SORT) >> "$(BUNDLE_DIR)/media/openttd.desktop"
+ $(Q)$(AWK) -f "$(ROOT_DIR)/media/openttd.desktop.translation.awk" "$(SRC_DIR)/lang/"*.txt | $(SORT) | $(AWK) -f "$(ROOT_DIR)/media/openttd.desktop.filter.awk" >> "$(BUNDLE_DIR)/media/openttd.desktop"
$(Q)sed s/=openttd/=$(BINARY_NAME)/g "$(BUNDLE_DIR)/media/openttd.desktop" > "$(ROOT_DIR)/media/openttd.desktop.install"
endif
ifeq ($(TTD), openttd.exe)