summaryrefslogtreecommitdiffstats
path: root/Rules.mk
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2013-05-30 09:08:11 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-30 18:05:02 +0900
commit56eaea6993f8a0ae72f7073a5f024007cdb33cc1 (patch)
treea18c725915aecb468afe6fa13713ff879c7f7516 /Rules.mk
parentf32e86eb32ee3697f255d01a61f6aa2e1cff5a8b (diff)
downloadsubsurface-56eaea6993f8a0ae72f7073a5f024007cdb33cc1.tar.gz
Enable Marble Google Sat lookup when run as a MacOSX app
Following Dirk's commit ae2c132, add support for custom google sat data in a MacOSX app bundle Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Rules.mk')
-rw-r--r--Rules.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Rules.mk b/Rules.mk
index a3eff13cd..63bfeebf3 100644
--- a/Rules.mk
+++ b/Rules.mk
@@ -89,6 +89,10 @@ install-macosx: all
$(INSTALL) $(MACOSXFILES)/Info.plist $(MACOSXINSTALL)/Contents/
$(INSTALL) $(ICONFILE) $(MACOSXINSTALL)/Contents/Resources/
$(INSTALL) $(MACOSXFILES)/$(CAPITALIZED_NAME).icns $(MACOSXINSTALL)/Contents/Resources/
+ @-if test ! -z "$(MARBLEDIR)"; then \
+ $(INSTALL) -d -m 755 $(MACOSXINSTALL)/Contents/Resources/share/$(MARBLEDIR); \
+ $(TAR) cf - $(MARBLEDIR) | ( cd $(MACOSXINSTALL)/Contents/Resources/share; $(TAR) xf - ); \
+ fi
for LOC in $(wildcard share/locale/*/LC_MESSAGES); do \
$(INSTALL) -d -m 755 $(MACOSXINSTALL)/Contents/Resources/$$LOC; \
$(INSTALL) $$LOC/$(NAME).mo $(MACOSXINSTALL)/Contents/Resources/$$LOC/$(NAME).mo; \