1
UPSTREAM_VERSION = $(shell debian/build-tree/syslog-ng/syslog-ng --version | head -n 1)
3
MANS = debian/man/syslog-ng.8 debian/man/loggen.1
9
debian/man/syslog-ng.8: debian/man/syslog-ng.8.inc
10
help2man -N -s 8 -m "syslog-ng manual" -n "syslog-ng system logger application" \
11
--version-string "${UPSTREAM_VERSION}" -h "--help-all" \
12
-i $^ debian/build-tree/syslog-ng/syslog-ng >$@.tmp
13
sed -e 's,^lt..syslog..ng \[OPTION...\] \(.*\),\1 [OPTIONS...],' \
14
-e 's#, default=affile.*#.#' <$@.tmp >$@
17
debian/man/loggen.1: debian/man/loggen.1.inc
18
help2man -N -s 1 -m "syslog-ng manual" \
19
--version-string "${UPSTREAM_VERSION}" -h "--help-all" \
20
-i $^ debian/build-tree/tests/loggen/loggen >$@.tmp
21
sed -e "s,xlt-,," <$@.tmp >$@