summaryrefslogtreecommitdiff
path: root/Makefile.bundle.in
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-05-22 19:59:37 +0000
committerrubidium <rubidium@openttd.org>2010-05-22 19:59:37 +0000
commit45440063b57f792da3afef603e621befa1c1bfcd (patch)
treee9eb3e2f841d56610e9a3fa686c9b30ee6a2a2ae /Makefile.bundle.in
parent5e4ec72ce6e353b78e8bb9c7ace65191555da525 (diff)
downloadopenttd-45440063b57f792da3afef603e621befa1c1bfcd.tar.xz
(svn r19884) -Feature: translatable desktop shortcut comments
Diffstat (limited to 'Makefile.bundle.in')
-rw-r--r--Makefile.bundle.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.bundle.in b/Makefile.bundle.in
index 6a1f3657f..446890a52 100644
--- a/Makefile.bundle.in
+++ b/Makefile.bundle.in
@@ -88,7 +88,8 @@ endif
$(Q)cp "$(BIN_DIR)/scripts/"* "$(BUNDLE_DIR)/scripts/"
ifdef MENU_DIR
$(Q)cp "$(ROOT_DIR)/media/openttd.desktop" "$(BUNDLE_DIR)/media/"
- $(Q)cat "$(ROOT_DIR)/media/openttd.desktop" | sed s/=openttd/=$(BINARY_NAME)/g > "$(ROOT_DIR)/media/openttd.desktop.install"
+ $(Q)$(AWK) -f "$(ROOT_DIR)/media/openttd.desktop.translation.awk" "$(SRC_DIR)/lang/"*.txt | $(SORT) >> "$(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)
$(Q)unix2dos "$(BUNDLE_DIR)/docs/"* "$(BUNDLE_DIR)/readme.txt" "$(BUNDLE_DIR)/COPYING" "$(BUNDLE_DIR)/changelog.txt" "$(BUNDLE_DIR)/known-bugs.txt"