mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
7b75cfa808
commit
ae2c132a26
4 changed files with 36 additions and 3 deletions
1
Makefile
1
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue