]> granicus.if.org Git - icinga2/commitdiff
Added automake support for doxygen.
authorGunnar Beutner <gunnar@beutner.name>
Fri, 18 May 2012 09:31:55 +0000 (11:31 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Fri, 18 May 2012 09:31:55 +0000 (11:31 +0200)
Doxyfile.in [moved from Doxyfile with 99% similarity]
Makefile.am
configure.ac

similarity index 99%
rename from Doxyfile
rename to Doxyfile.in
index eaadb283dfc959030af74cc5d764a8f207bccd3d..4165dfe7e426e21638d5e67179d93f12d6272482 100644 (file)
--- a/Doxyfile
@@ -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
index 643922b408d7c06aca2a19c02c6fb7c5c7453aec..c6d4315ed6bffbdea3784ce677ffc3c398891b06 100644 (file)
@@ -1,6 +1,8 @@
 ## Process this file with automake to produce Makefile.in
 ## Created by Anjuta
 
+include aminclude.am
+
 SUBDIRS = ltdl \
        mmatch \
        cJSON \
index fed66a4f8a8b38d6693db4901bb37bc67711e4d2..82acacaef84126117e6eb39fffa6f557853ac117 100644 (file)
@@ -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
 ])