diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4052bf8..46d6b9c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,7 @@
# preamble
project( Lsyncd )
cmake_minimum_required( VERSION 2.8 )
-set( LSYNCD_VERSION 2.1.7 )
+set( LSYNCD_VERSION 2.2.0 )
set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/" )
@@ -80,12 +80,11 @@ add_custom_command( OUTPUT defaults.out
)
# the manpage
-add_custom_command( OUTPUT doc/manpage/lsyncd.1
+add_custom_target( manpage
COMMAND ${CMAKE_COMMAND} -E echo "Updating the manpage"
COMMAND a2x --format=manpage doc/manpage/lsyncd.1.txt
DEPENDS doc/manpage/lsyncd.1.txt
)
-add_custom_target( manpage DEPENDS doc/manpage/lsyncd.1 )
# compiling and linking it all together
add_executable( lsyncd ${LSYNCD_SRC} )
diff --git a/ChangeLog b/ChangeLog
index 794aa0a..71ceec6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,4 @@
-??-??-????: 2.1.7
+??-??-????: 2.2.0
enhancement: add rsync options:
"append",
"append_verify",
diff --git a/doc/manpage/lsyncd.1 b/doc/manpage/lsyncd.1
index 3ec0a44..61f39d5 100644
--- a/doc/manpage/lsyncd.1
+++ b/doc/manpage/lsyncd.1
@@ -2,12 +2,12 @@
.\" Title: lsyncd
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1
-.\" Date: June 2016
+.\" Date: June 2017
.\" Manual: Lsyncd
-.\" Source: Lsyncd 2.1.5
+.\" Source: Lsyncd 2.2.0
.\" Language: English
.\"
-.TH "LSYNCD" "1" "June 2016" "Lsyncd 2\&.1\&.5" "Lsyncd"
+.TH "LSYNCD" "1" "June 2017" "Lsyncd 2\&.2\&.0" "Lsyncd"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -134,9 +134,9 @@ Writes version information and exits\&.
.RE
.SH "EXIT STATUS"
.PP
-\fB0\fR
+\fB(128+SIGNUM)\fR
.RS 4
-Terminated on a TERM signal(7)
+Terminated by Signal (143 by TERM)
.RE
.PP
\fB\-1\fR
@@ -148,10 +148,10 @@ Failure (syntax, unrecoverable error condition, internal failure)
Online Manual: https://axkibe\&.github\&.io/lsyncd/
.SH "VERSION"
.sp
-This man page is for lsyncd(1) version 2\&.1\&.5
+This man page is for lsyncd(1) version 2\&.2\&.0
.SH "AUTHOR"
.sp
-Axel Kittenberger, 2010\-2016
+Axel Kittenberger, 2010\-2017
.SH "COPYING"
.sp
-Copyright (C) 2010\-2016 Axel Kittenberger\&. Free use of this software is granted under the terms of the GNU General Public License (GPL) version 2, or any later version\&. Free redistrubition of this Documentation (/doc directory) is granted under the terms of the Creative Commons 3\&.0 Attribution License (CC\-3\&.0\-BY)\&.
+Copyright (C) 2010\-2017 Axel Kittenberger\&. Free use of this software is granted under the terms of the GNU General Public License (GPL) version 2, or any later version\&. Free redistrubition of this Documentation (/doc directory) is granted under the terms of the Creative Commons 3\&.0 Attribution License (CC\-3\&.0\-BY)\&.
diff --git a/doc/manpage/lsyncd.1.txt b/doc/manpage/lsyncd.1.txt
index 0d1a21e..249ba51 100644
--- a/doc/manpage/lsyncd.1.txt
+++ b/doc/manpage/lsyncd.1.txt
@@ -3,8 +3,8 @@ lsyncd(1)
:doctype: manpage
:man source: Lsyncd
:man manual: Lsyncd
-:man version: 2.1.5
-:date: June 2016
+:man version: 2.2.0
+:date: June 2017
NAME
----
@@ -80,27 +80,28 @@ OPTIONS
EXIT STATUS
-----------
-*0*::
- Terminated on a TERM signal(7)
+*(128+SIGNUM)*::
+ Terminated by Signal (143 by TERM)
*-1*::
Failure (syntax, unrecoverable error condition, internal failure)
+
SEE ALSO
--------
Online Manual: https://axkibe.github.io/lsyncd/
VERSION
------
-This man page is for lsyncd(1) version 2.1.5
+This man page is for lsyncd(1) version 2.2.0
AUTHOR
------
-Axel Kittenberger, 2010-2016
+Axel Kittenberger, 2010-2017
COPYING
-------
-Copyright \(C) 2010-2016 Axel Kittenberger. Free use of this software is granted
+Copyright \(C) 2010-2017 Axel Kittenberger. Free use of this software is granted
under the terms of the GNU General Public License (GPL) version 2, or any later
version. Free redistrubition of this Documentation (/doc directory) is granted
under the terms of the Creative Commons 3.0 Attribution License (CC-3.0-BY).
diff --git a/lsyncd.lua b/lsyncd.lua
index 6a39362..5adab83 100644
--- a/lsyncd.lua
+++ b/lsyncd.lua
@@ -32,7 +32,7 @@ then
lsyncd.terminate( -1 )
end
-lsyncd_version = '2.1.7'
+lsyncd_version = '2.2.0'
--