Skip to content

Commit

Permalink
Shell|GUI|Unix: .desktop shortcut file for the Shell
Browse files Browse the repository at this point in the history
Added the .desktop file and an application icon for the Shell.
  • Loading branch information
skyjake committed Feb 16, 2013
1 parent d02e761 commit 7ed069c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions doomsday/tools/shell/shell-gui/shell-gui.pro
Expand Up @@ -72,4 +72,21 @@ macx {
else {
INSTALLS += target
target.path = $$DENG_BIN_DIR

unix {
INSTALLS += icon
icon.files = res/shell.png
icon.path = $$DENG_BASE_DIR/icons

# Generate a .desktop file for the applications menu.
desktopFile = doomsday-shell.desktop
!system(sed \"s:BIN_DIR:$$DENG_BIN_DIR:; s:BASE_DIR:$$DENG_BASE_DIR:\" \
<\"../../../../distrib/linux/$$desktopFile\" \
>\"$$OUT_PWD/$$desktopFile\"): error(Can\'t build $$desktopFile)
desktop.files = $$OUT_PWD/$$desktopFile
desktop.path = $$PREFIX/share/applications
INSTALLS += desktop

OTHER_FILES += ../../../../distrib/linux/$$desktopFile
}
}

0 comments on commit 7ed069c

Please sign in to comment.