mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Made the install path configurable
This commit is contained in:
parent
bc5c8ab42c
commit
5c3fd0872d
16
gpxsee.pro
16
gpxsee.pro
@ -340,18 +340,20 @@ win32 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
unix:!macx {
|
unix:!macx {
|
||||||
|
isEmpty(PREFIX):PREFIX = /usr/local
|
||||||
|
|
||||||
maps.files = pkg/maps/*
|
maps.files = pkg/maps/*
|
||||||
maps.path = /usr/local/share/gpxsee/maps
|
maps.path = $$PREFIX/share/gpxsee/maps
|
||||||
csv.files = pkg/csv/*
|
csv.files = pkg/csv/*
|
||||||
csv.path = /usr/local/share/gpxsee/csv
|
csv.path = $$PREFIX/share/gpxsee/csv
|
||||||
locale.files = lang/*.qm
|
locale.files = lang/*.qm
|
||||||
locale.path = /usr/local/share/gpxsee/translations
|
locale.path = $$PREFIX/share/gpxsee/translations
|
||||||
icon.files = icons/gpxsee.png
|
icon.files = icons/gpxsee.png
|
||||||
icon.path = /usr/local/share/pixmaps
|
icon.path = $$PREFIX/share/pixmaps
|
||||||
desktop.files = pkg/gpxsee.desktop
|
desktop.files = pkg/gpxsee.desktop
|
||||||
desktop.path = /usr/local/share/applications
|
desktop.path = $$PREFIX/share/applications
|
||||||
mime.files = pkg/gpxsee.xml
|
mime.files = pkg/gpxsee.xml
|
||||||
mime.path = /usr/local/share/mime/packages
|
mime.path = $$PREFIX/share/mime/packages
|
||||||
target.path = /usr/local/bin
|
target.path = $$PREFIX/bin
|
||||||
INSTALLS += target maps csv locale icon desktop mime
|
INSTALLS += target maps csv locale icon desktop mime
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user