summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontends/cocoa/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/frontends/cocoa/Makefile b/frontends/cocoa/Makefile
index 2b98353f0..92dec45a8 100644
--- a/frontends/cocoa/Makefile
+++ b/frontends/cocoa/Makefile
@@ -153,17 +153,23 @@ R_RESOURCES := $(addprefix $(FRONTEND_RESOURCES_DIR)/,$(R_RESOURCES))
R_RESOURCES += $(addprefix $(FRONTEND_SOURCE_DIR)/PSMTabBarControl/Images/,$(TABBAR_RESOURCES))
LANGUAGES := de en fr it nl
-LOCALIZED_RESOURCES := Localizable.strings
+LOCALIZED_RESOURCES := \
+ Localizable.strings \
+ welcome.html \
+ maps.html \
+ licence.html
+
#languiage project macro
# $1 is language name
# $2 is list of resources per language
define make_lproj
R_RESOURCES += $$(OBJROOT)/$(1).lproj
+$(2):
$$(OBJROOT)/$(1).lproj: $(2)
$(VQ)echo Bundling language $(1)
$(Q)$(MKDIR) -p $$@
- $(Q)cp -pLR $(2) $$@
+ $(Q)for file in $(2) ; do if [ -e $$$$file ]; then cp -pLR $$$$file $$@ ; fi; done
$(Q)$(SPLIT_MESSAGES) -l $(1) -p cocoa -f messages resources/FatMessages > $$@/Messages
endef