From f0c02a2df1b6d89c28f0a74fcb992110aa1d002e Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Thu, 16 Apr 2015 18:11:29 +0300 Subject: [PATCH] Added FindPCRE.cmake which is used by the FindMySQL.cmake. --- Getting-Started/Building-MaxScale-from-Source-Code.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Getting-Started/Building-MaxScale-from-Source-Code.md b/Getting-Started/Building-MaxScale-from-Source-Code.md index 7459d25a4..30a06fcdb 100644 --- a/Getting-Started/Building-MaxScale-from-Source-Code.md +++ b/Getting-Started/Building-MaxScale-from-Source-Code.md @@ -259,3 +259,8 @@ When you run the `make testall` target after configuring the build with CMake a After testing has finished you can find a full testlog generated by CTest in `Testing/Temporary/` directory and MaxScale's log files in the `log/` directory of the build root. +## Building the MaxScale package + +First make sure you have the required libraries for your platform, including either rpmbuild for RHEL variants or dpkg-dev for Debian variants. + +If you wish to generate your own MaxScale package, you can do so by first configuring CMake with -DPACKAGE=Y. This will enable the package building target, `package` for the Makefile build system. After configuring, it should be as simple as running the `make package` command in the build directory. This will result in two packages, a tar.gz package and either a .rpm package or a .deb package depending on your system.