Commit 6f96f3b8c028a8333ce0458d96ea36fdd386ee6e
- Diff rendering mode:
- inline
- side by side
qmpdclient.pro
(3 / 7)
|   | |||
| 220 | 220 | INSTALLS += target | |
| 221 | 221 | target.path = $$PREFIX/bin | |
| 222 | 222 | } | |
| 223 | |||
| 224 | system(which desktop-file-install > /dev/null) { | ||
| 225 | message(.desktop file support enabled) | ||
| 226 | desktop_file.extra = desktop-file-install qmpdclient.desktop | ||
| 227 | desktop_file.path=/ | ||
| 223 | unix { | ||
| 224 | desktop_file.files = qmpdclient.desktop | ||
| 225 | desktop_file.path = $$PREFIX/share/applications | ||
| 228 | 226 | INSTALLS += desktop_file | |
| 229 | } else { | ||
| 230 | message(.desktop file support is not available; install desktop-file-utils) | ||
| 231 | 227 | } | |
| 232 | 228 | ||
| 233 | 229 | # update translations (make translate) |

