From 55da333881673b40ef774e4d5ae5c0815fcb47fb Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Fri, 27 Dec 2013 18:29:02 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- subsurface-install.pri | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) { -- cgit v1.2.3-70-g09d2