mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-06 14:39:59 +01:00
Ajout des associations de fichiers pour X11 (shared-mime-info)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@356 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
QET_COMMON_COLLECTION_PATH = 'share/qelectrotech/elements/'
|
||||
QET_LANG_PATH = 'share/qelectrotech/lang/'
|
||||
QET_LICENSE_PATH = 'doc/qelectrotech/'
|
||||
QET_MIME_XML_PATH = '../share/mime/applications/'
|
||||
QET_MIME_DESKTOP_PATH = '../share/mimelnk/applications/'
|
||||
QET_DESKTOP_PATH = 'share/applications/'
|
||||
QET_ICONS_PATH = 'share/icons/'
|
||||
} else {
|
||||
@@ -191,6 +193,12 @@ copyright.files = LICENSE \
|
||||
CREDIT \
|
||||
README
|
||||
|
||||
mime_xml.path = $$join(INSTALL_PREFIX,,,$${QET_MIME_XML_PATH})
|
||||
mime_xml.files = misc/x-qet-*.xml
|
||||
|
||||
mime_desktop.path = $$join(INSTALL_PREFIX,,,$${QET_MIME_DESKTOP_PATH})
|
||||
mime_desktop.files = misc/x-qet-*.desktop
|
||||
|
||||
desktop.path = $$join(INSTALL_PREFIX,,,$${QET_DESKTOP_PATH})
|
||||
desktop.files = misc/qelectrotech.desktop
|
||||
|
||||
@@ -201,7 +209,7 @@ icons.files = ico/qet.png
|
||||
INSTALLS += target elements lang copyright
|
||||
# Sous Unix, on installe egalement l'icone et un fichier .desktop
|
||||
unix {
|
||||
INSTALLS += desktop icons
|
||||
INSTALLS += desktop mime_xml mime_desktop icons
|
||||
}
|
||||
|
||||
# Options de compilation
|
||||
|
||||
Reference in New Issue
Block a user