Peter Kuemmel wrote:
I am not really happy with this suggestion. At least for the cmake-build
we have the modul CPack, which does all what is needed for free.
Compare the creation of e.g. a binary rpm-package in cmake
cpack -G RPM --config CPackConfig.cmake
with the content of
"development/lyx.rpm.README"
I've added a readme for packaging with cmake:
And I've fixed the typos in meantime ;)
Here is what to do to make a binary packages using CMake.
Build LyX on your target system ad build the package with cpack:
cpack -G <generator> --config CPackConfig.cmake
Choose <generator> dependent on your system:
DEB, RPM, TGZ, NSIS, and others
See also:
http://www.cmake.org/Wiki/CMake:CPackPackageGenerators
http://www.cmake.org/cmake/help/cpack2.6docs.html