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 <[email protected]> --- subsurface-install.pri | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/subsurface-install.pri b/subsurface-install.pri index 26f9d50..0a379ab 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) { -- 1.8.3.2 _______________________________________________ subsurface mailing list [email protected] http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
