diff --git a/Doxyfile b/Doxyfile.in similarity index 99% rename from Doxyfile rename to Doxyfile.in index eaadb283d..4165dfe7e 100644 --- a/Doxyfile +++ b/Doxyfile.in @@ -26,13 +26,13 @@ DOXYFILE_ENCODING = UTF-8 # identify the project. Note that if you do not use Doxywizard you need # to put quotes around the project name if it contains spaces. -PROJECT_NAME = "icinga" +PROJECT_NAME = @PACKAGE_NAME@ # The PROJECT_NUMBER tag can be used to enter a project or revision number. # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = +PROJECT_NUMBER = @PACKAGE_VERSION@ # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer @@ -52,7 +52,7 @@ PROJECT_LOGO = # If a relative path is entered, it will be relative to the location # where doxygen was started. If left blank the current directory will be used. -OUTPUT_DIRECTORY = doxygen +OUTPUT_DIRECTORY = @DX_DOCDIR@ # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create # 4096 sub-directories (in 2 levels) under the output directory of each output @@ -648,7 +648,7 @@ WARN_LOGFILE = # directories like "/usr/src/myproject". Separate the files or directories # with spaces. -INPUT = base icinga jsonrpc components icinga-app +INPUT = @top_srcdir@/base @top_srcdir@/icinga @top_srcdir@/jsonrpc @top_srcdir@/components @top_srcdir@/icinga-app # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is diff --git a/Makefile.am b/Makefile.am index 643922b40..c6d4315ed 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,8 @@ ## Process this file with automake to produce Makefile.in ## Created by Anjuta +include aminclude.am + SUBDIRS = ltdl \ mmatch \ cJSON \ diff --git a/configure.ac b/configure.ac index fed66a4f8..82acacaef 100644 --- a/configure.ac +++ b/configure.ac @@ -1,19 +1,29 @@ dnl Process this file with autoconf to produce a configure script. dnl Created by Anjuta application wizard. -AC_INIT(icinga, 2.0) +m4_include([m4/ax_cxx_gcc_abi_demangle.m4]) +m4_include([m4/ax_check_compile_flag.m4]) +m4_include([m4/ax_pthread.m4]) +m4_include([m4/ax_prog_doxygen.m4]) + +AC_INIT([icinga], [2.0]) AC_CONFIG_AUX_DIR([m4]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([1.11]) - -m4_include([m4/ax_cxx_gcc_abi_demangle.m4]) -m4_include([m4/ax_check_compile_flag.m4]) -m4_include([m4/ax_pthread.m4]) - AM_SILENT_RULES([yes]) +DX_HTML_FEATURE(ON) +DX_CHM_FEATURE(OFF) +DX_CHI_FEATURE(OFF) +DX_MAN_FEATURE(OFF) +DX_RTF_FEATURE(OFF) +DX_XML_FEATURE(OFF) +DX_PDF_FEATURE(OFF) +DX_PS_FEATURE(OFF) +DX_INIT_DOXYGEN([icinga], [Doxyfile], [doc]) + AC_PROG_CXX AX_CXX_GCC_ABI_DEMANGLE AX_PTHREAD @@ -61,4 +71,5 @@ icinga/Makefile icinga-app/Makefile jsonrpc/Makefile mmatch/Makefile +Doxyfile ])