diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2013-12-27 18:29:02 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-27 10:55:40 -0800 |
commit | 55da333881673b40ef774e4d5ae5c0815fcb47fb (patch) | |
tree | 26591dc3cd3fff81935b894ac452e10f69075acc /subsurface-install.pri | |
parent | 5fca06c9e60bdbfb708006d14255d4c28e16aced (diff) | |
download | subsurface-55da333881673b40ef774e4d5ae5c0815fcb47fb.tar.gz |
Install Subsurface icon
We want to install the Subsurface icon so it can be used e.g. in menus.
(Commit ee5d8e3c moved the icons to resources, but the application icon
is special case, that should be installed globally.)
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-install.pri')
-rw-r--r-- | subsurface-install.pri | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/subsurface-install.pri b/subsurface-install.pri index 26f9d509b..0a379ab56 100644 --- a/subsurface-install.pri +++ b/subsurface-install.pri @@ -129,6 +129,8 @@ BINDIR = $(prefix)/bin$${nl}\ DATADIR = $(prefix)/share$${nl}\ DOCDIR = $(DATADIR)/subsurface/Documentation$${nl}\ DESKTOPDIR = $(DATADIR)/applications$${nl}\ +ICONPATH = $(DATADIR)/icons/hicolor$${nl}\ +ICONDIR = $(ICONPATH)/scalable/apps$${nl}\ MANDIR = $(DATADIR)/man/man1$${nl} QMAKE_EXTRA_TARGETS += dummy @@ -143,6 +145,9 @@ MANDIR = $(DATADIR)/man/man1$${nl} manpage.path = /$(MANDIR) manpage.files = $$MANPAGE + icon.path = /$(ICONDIR) + icon.files = $$ICON + marbledir.path = /$(DATADIR)/subsurface/data doc.path = /$(DOCDIR) @@ -151,7 +156,7 @@ MANDIR = $(DATADIR)/man/man1$${nl} translation.path = /$(DATADIR)/subsurface/translations translation.CONFIG += no_check_exist - INSTALLS += target desktop manpage doc marbledir translation + INSTALLS += target desktop manpage doc marbledir translation icon install.target = install } !isEmpty(TRANSLATIONS) { |