Broken make install path for library if prefix doesn't default.
--HG-- branch : develop
This commit is contained in:
parent
f8b02e7f40
commit
013a8d7cfd
10
README.txt
10
README.txt
|
@ -45,7 +45,7 @@ The installed toolchains have to match the one Qt was compiled with.
|
||||||
You can build Valentina with
|
You can build Valentina with
|
||||||
|
|
||||||
cd $SOURCE_DIRECTORY
|
cd $SOURCE_DIRECTORY
|
||||||
qmake -r
|
qmake Valentina.pro -r (or qmake-qt5, depending on your platform)
|
||||||
make (or mingw32-make or nmake or jom, depending on your platform)
|
make (or mingw32-make or nmake or jom, depending on your platform)
|
||||||
|
|
||||||
Note:In order to build and use Valentina, the PATH environment variable
|
Note:In order to build and use Valentina, the PATH environment variable
|
||||||
|
@ -61,6 +61,14 @@ You may also need to ensure that the locations of your compiler and
|
||||||
other build tools are listed in the PATH variable. This will depend on
|
other build tools are listed in the PATH variable. This will depend on
|
||||||
your choice of software development environment.
|
your choice of software development environment.
|
||||||
|
|
||||||
|
Unix systems:
|
||||||
|
Default prefix for command "make install" is /usr. For using another
|
||||||
|
prefix build with qmake command:
|
||||||
|
|
||||||
|
qmake PREFIX=/usr/local Valentina.pro -r
|
||||||
|
|
||||||
|
where /usr/local is a new prefix for installation.
|
||||||
|
|
||||||
LICENSING
|
LICENSING
|
||||||
==========
|
==========
|
||||||
Valentina is free software: you can redistribute it and/or modify
|
Valentina is free software: you can redistribute it and/or modify
|
||||||
|
|
|
@ -67,9 +67,15 @@ unix:!macx{
|
||||||
} else {
|
} else {
|
||||||
PREFIX = $$DEFAULT_PREFIX/lib
|
PREFIX = $$DEFAULT_PREFIX/lib
|
||||||
}
|
}
|
||||||
|
target.path = $$PREFIX
|
||||||
|
} else {
|
||||||
|
contains(QMAKE_HOST.arch, x86_64) {
|
||||||
|
target.path = $$PREFIX/lib64
|
||||||
|
} else {
|
||||||
|
target.path = $$PREFIX/lib
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
target.path = $$PREFIX
|
|
||||||
INSTALLS += target
|
INSTALLS += target
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -109,9 +109,15 @@ unix:!macx{
|
||||||
} else {
|
} else {
|
||||||
PREFIX = $$DEFAULT_PREFIX/lib
|
PREFIX = $$DEFAULT_PREFIX/lib
|
||||||
}
|
}
|
||||||
|
target.path = $$PREFIX
|
||||||
|
} else {
|
||||||
|
contains(QMAKE_HOST.arch, x86_64) {
|
||||||
|
target.path = $$PREFIX/lib64
|
||||||
|
} else {
|
||||||
|
target.path = $$PREFIX/lib
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
target.path = $$PREFIX
|
|
||||||
INSTALLS += target
|
INSTALLS += target
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user