Commit 6f96f3b8c028a8333ce0458d96ea36fdd386ee6e

  • avatar
  • Voker57
  • Sun May 03 18:39:20 CEST 2009
Got rid of desktop-file-install (it's stupid)

Manually installing qmpdclient.desktop in $$PREFIX/share/applications
  
220220 INSTALLS += target
221221 target.path = $$PREFIX/bin
222222}
223
224system(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=/
223unix {
224 desktop_file.files = qmpdclient.desktop
225 desktop_file.path = $$PREFIX/share/applications
228226 INSTALLS += desktop_file
229} else {
230 message(.desktop file support is not available; install desktop-file-utils)
231227}
232228
233229# update translations (make translate)