Add a note for packagers.

Refs #5842
This commit is contained in:
Michael Friedrich 2014-03-21 18:22:17 +01:00
parent 23c47dd430
commit d46ba3e522
1 changed files with 13 additions and 0 deletions

13
INSTALL
View File

@ -108,3 +108,16 @@ configuration format is explained in detail in the doc/ directory.
By default "make install" installs example configuration files in
/usr/local/etc/icinga2 unless you have specified a different prefix or
sysconfdir.
Package Builds
--------------
In order to create a snapshot tarball, create a new release directory outside
the source tree and run cmake and make. Replace <version> with the correct
string.
$ cd ..
$ mkdir icinga2-release && cd icinga2-release
$ cmake ../icinga2 -DCPACK_SOURCE_GENERATE=TGZ -DCPACK_SOURCE_PACKAGE_FILE_NAME=icinga2-<version>
$ make package_source