Merge pull request #331 from atsampson/installdesktop
Install jamulus.desktop
This commit is contained in:
commit
c780d82ac2
1 changed files with 13 additions and 1 deletions
14
Jamulus.pro
14
Jamulus.pro
|
@ -295,12 +295,24 @@ win32 {
|
||||||
isEmpty(PREFIX) {
|
isEmpty(PREFIX) {
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
}
|
}
|
||||||
|
|
||||||
isEmpty(BINDIR) {
|
isEmpty(BINDIR) {
|
||||||
BINDIR = bin
|
BINDIR = bin
|
||||||
}
|
}
|
||||||
BINDIR = $$absolute_path($$BINDIR, $$PREFIX)
|
BINDIR = $$absolute_path($$BINDIR, $$PREFIX)
|
||||||
INSTALLS += target
|
|
||||||
target.path = $$BINDIR
|
target.path = $$BINDIR
|
||||||
|
INSTALLS += target
|
||||||
|
|
||||||
|
isEmpty(APPSDIR) {
|
||||||
|
APPSDIR = share/applications
|
||||||
|
}
|
||||||
|
APPSDIR = $$absolute_path($$APPSDIR, $$PREFIX)
|
||||||
|
desktop.path = $$APPSDIR
|
||||||
|
desktop.files = distributions/jamulus.desktop
|
||||||
|
# the .desktop file assumes the binary is called jamulus
|
||||||
|
contains(CONFIG, "noupcasename") {
|
||||||
|
INSTALLS += desktop
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
RCC_DIR = src/res
|
RCC_DIR = src/res
|
||||||
|
|
Loading…
Add table
Reference in a new issue