Get rid of help2man.

fixes #4706
This commit is contained in:
Michael Friedrich 2013-09-26 18:01:48 +02:00
parent 6a31b706f8
commit 9fce077a64
6 changed files with 62 additions and 19 deletions

View File

@ -36,7 +36,6 @@ mentioned above:
libltdl-dev on Debian)
* GNU bison (bison)
* GNU flex (flex)
* GNU help2man (help2man)
Building Icinga 2
-----------------

View File

@ -107,13 +107,6 @@ fi
NO_AUTOMAKE=yes
}
(help2man --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`help2man' installed."
echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/"
DIE=1
}
# if no automake, don't bother testing for aclocal
test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
echo

View File

@ -57,8 +57,6 @@ DX_PS_FEATURE(OFF)
DX_INIT_DOXYGEN([icinga], [docs/Doxyfile], [docs/dev])
AD_INIT_ASCIIDOC([icinga], [docs])
AM_MISSING_PROG(HELP2MAN, help2man, $missing_dir)
AC_PROG_INSTALL
AC_PROG_LEX
AC_PROG_YACC

View File

@ -38,14 +38,6 @@ icinga2doc_DATA += \
$(AD_ENV) $(AD_ASCIIDOC) -d book -a toc -a numbered -o $@ $<
endif AD_COND_doc
icinga2.8: $(top_builddir)/icinga-app/icinga2
-$(HELP2MAN) --name='The Icinga 2 networking monitoring daemon.' --section=8 --no-info --output=$@ $(top_builddir)/icinga-app/icinga2
# The icinga2.8 file is in EXTRA_DIST which means we need to build it when "make dist" is run.
# Unfortunately in order to build this man page we need to build Icinga 2. Meh.
$(top_builddir)/icinga-app/icinga2:
$(MAKE) -C $(top_builddir)
clean:
rm -f $(icinga2doc_DATA)

62
docs/icinga2.8 Normal file
View File

@ -0,0 +1,62 @@
.TH ICINGA2 "8" "September 2013" "icinga2 - The Icinga 2 network monitoring daemon." "System Administration Utilities"
.SH NAME
icinga2 \- The Icinga 2 networking monitoring daemon.
.SH DESCRIPTION
icinga2 \- The Icinga 2 network monitoring daemon.
.SH OPTIONS
.TP
\fB\-\-help\fR
show this help message
.TP
\fB\-V\fR [ \fB\-\-version\fR ]
show version information
.TP
\fB\-l\fR [ \fB\-\-library\fR ] arg
load a library
.TP
\fB\-I\fR [ \fB\-\-include\fR ] arg
add include search directory
.TP
\fB\-c\fR [ \fB\-\-config\fR ] arg
parse a configuration file
.TP
\fB\-C\fR [ \fB\-\-validate\fR ]
exit after validating the configuration
.TP
\fB\-x\fR [ \fB\-\-debug\fR ]
enable debugging
.TP
\fB\-d\fR [ \fB\-\-daemonize\fR ]
detach from the controlling terminal
.TP
\fB\-e\fR [ \fB\-\-errorlog\fR ] arg log fatal errors to the specified log file (only works
in combination with \fB\-\-daemonize\fR)
.TP
\fB\-u\fR [ \fB\-\-user\fR ] arg
user to run Icinga as
.TP
\fB\-g\fR [ \fB\-\-group\fR ] arg
group to run Icinga as
.SH FILES
.TP
.IP /etc/icinga2
Default configuration directory for Icinga2
.SH AUTHOR
Icinga2 is maintained by the Icinga Project <info@icinga.org>.
.SH "REPORTING BUGS"
Report bugs at <https://dev.icinga.org/>
.br
Icinga home page: <http://www.icinga.org/>
.SH COPYRIGHT
Copyright \(co 2012\-2013 Icinga Development Team (http://www.icinga.org)
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl2.html>
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

View File

@ -18,7 +18,6 @@ BuildRequires: libtool-ltdl-devel
BuildRequires: automake
BuildRequires: autoconf
BuildRequires: libtool
BuildRequires: help2man
BuildRequires: flex
BuildRequires: bison