summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-30 04:59:38 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-30 14:00:55 +0900
commitae2c132a267932892d5c3f7965517194d38d962a (patch)
treebead6185d791ca355127c06de001069390cf0f5b /Makefile
parent7b75cfa8082b97fedcea8df577e9f426037a7965 (diff)
downloadsubsurface-ae2c132a267932892d5c3f7965517194d38d962a.tar.gz
Do a better job finding Marble Google Sat files
First try if Google Sat is already installed as a provider (and just use it if it is). Then use the executable path to make an educated guess where these files might be found as part of Subsurface. We now install the necessary directory tree under $(DESTDIR)/usr/share/subsurface/marbledata Still far from perfect - but this should work at least on Linux. MacOS will need a different modifier for the path and Windows I haven't even thought about, yet. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 46d5d0096..eedf1a7b8 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,7 @@ ICONPATH = $(DATADIR)/icons/hicolor
ICONDIR = $(ICONPATH)/scalable/apps
MANDIR = $(DATADIR)/man/man1
XSLTDIR = $(DATADIR)/$(NAME)/xslt
+MARBLEDIR = marbledata/maps/earth/googlesat
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(ICONPATH)
ICONFILE = $(NAME)-icon.svg