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
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
$(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)
--- /dev/null
+.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.