81 |
} |
} |
82 |
|
|
83 |
BINDIR = $${PREFIX}/bin |
BINDIR = $${PREFIX}/bin |
84 |
DATADIR = $${PREFIX}/share |
DATADIR = $$PREFIX/share |
|
LOCALEDIR = $(localedir) |
|
85 |
|
|
86 |
DEFINES += DATADIR=\"$${DATADIR}\" |
DEFINES += DATADIR=\"$${DATADIR}\" |
87 |
|
|
|
!isEmpty(LOCALEDIR) { |
|
|
DEFINES += LOCALEDIR=\"$${LOCALEDIR}\" |
|
|
} |
|
|
|
|
88 |
# make install |
# make install |
89 |
INSTALLS += target desktop icon \ |
INSTALLS += target desktop icon appdata \ |
90 |
icon_scalable mimeinfo mimetypes mimetypes_scalable |
icon_scalable mimeinfo mimetypes mimetypes_scalable |
91 |
|
|
92 |
target.path = $${BINDIR} |
target.path = $${BINDIR} |
98 |
icon.files += images/$${NAME}.png |
icon.files += images/$${NAME}.png |
99 |
|
|
100 |
icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps |
icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps |
101 |
icon_scalable.files += images/$${NAME}.svgz |
icon_scalable.files += images/$${NAME}.svg |
102 |
|
|
103 |
|
appdata.path = $${DATADIR}/appdata |
104 |
|
appdata.files += appdata/$${NAME}.appdata.xml |
105 |
|
|
106 |
mimeinfo.path = $${DATADIR}/mime/packages |
mimeinfo.path = $${DATADIR}/mime/packages |
107 |
mimeinfo.files += mimetypes/$${NAME}.xml |
mimeinfo.files += mimetypes/$${NAME}.xml |
110 |
mimetypes.files += mimetypes/application-x-$${NAME}-session.png |
mimetypes.files += mimetypes/application-x-$${NAME}-session.png |
111 |
|
|
112 |
mimetypes_scalable.path = $${DATADIR}/icons/hicolor/scalable/mimetypes |
mimetypes_scalable.path = $${DATADIR}/icons/hicolor/scalable/mimetypes |
113 |
mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svgz |
mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svg |
114 |
} |
} |
115 |
|
|
116 |
win32 { |
win32 { |