X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=development%2Flyx.package.README;h=88b0a7f52efe2a6d8c04edac3c34150e3a7b1f6c;hb=c6b17b685a8cc0982a1544d90cdfdb6fba60a2e0;hp=4d12f39af7c5592590d8d6d271a88a3fe62195c2;hpb=a92ae88394b7dc08d919a554f5c3a6c42d0812c8;p=lyx.git diff --git a/development/lyx.package.README b/development/lyx.package.README index 4d12f39af7..88b0a7f52e 100755 --- a/development/lyx.package.README +++ b/development/lyx.package.README @@ -1,8 +1,8 @@ Here is what to do to make binary packages using CMake. -The string "_SRC_DIR_" represents the cmake-lyx-build-directory, e.g. /usr/src/lyx/lyx-devel/development/cmake. +The string "_SRC_DIR_" represents the cmake-lyx-build-directory, e.g. /usr/src/lyx/lyx-devel. The string "_BUILD_DIR_" represents the cmake-lyx-build-directory, e.g. /usr/BUILD/BuildLyx. -The string "_PKG_NAME_" represents the name of the package, like "lyx-2.0.1-Linux" on my Linux-system +The string "_PKG_NAME_" represents the name of the package, like "lyx-2.1.38687-Linux" on my Linux-system Using cmake-gui: cd _BUILD_DIR_; cmake-gui _SRC_DIR_ @@ -30,7 +30,7 @@ Some installation proceedings: STGZ: sudo _PKG_NAME_.sh --exclude-subdir TGZ: sudo tar -zxv --strip-components 1 --directory / -f _PKG_NAME_.tar.gz DEB: sudo dpkg -i _PKG_NAME_.deb - RPM: sudo rpm -U _PKG_NAME_.rpm + RPM: sudo rpm -U --force _PKG_NAME_.rpm See also: http://www.cmake.org/Wiki/CMake:CPackPackageGenerators