aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schink <swo-dev@marcschink.de>2017-01-13 12:51:30 +0100
committerMarc Schink <swo-dev@marcschink.de>2017-01-13 12:55:20 +0100
commit58a50bd54f355941a4ace2d34e995db810531127 (patch)
treec131dc1353af74c4e12995ed80fcfafb98494ff7
parentb8f5f5f4b1807c282d965f5b2545699570265b8c (diff)
Doxyfile: Set PROJECT_NUMBER to current package version
-rw-r--r--.gitignore1
-rw-r--r--Doxyfile.in (renamed from Doxyfile)5
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac1
4 files changed, 5 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 1e249b0..1b0a4f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,6 +14,7 @@ config.status
configure
.deps
doxy/
+Doxyfile
*.la
.libs
libswocxx.pc
diff --git a/Doxyfile b/Doxyfile.in
index 1131695..eb97586 100644
--- a/Doxyfile
+++ b/Doxyfile.in
@@ -38,7 +38,7 @@ PROJECT_NAME = "libswo"
# could be handy for archiving the generated documentation or if some version
# control system is used.
-PROJECT_NUMBER =
+PROJECT_NUMBER = "@LIBSWO_VERSION_PACKAGE@"
# 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 a
@@ -743,7 +743,8 @@ WARN_LOGFILE =
# spaces.
# Note: If this tag is empty the current directory is searched.
-INPUT = libswo
+INPUT = @top_srcdir@/libswo \
+ @top_builddir@/libswo/version.h
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
diff --git a/Makefile.am b/Makefile.am
index d7fb3a0..1f3ff46 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,5 +31,3 @@ endif
if BINDINGS_PYTHON
SUBDIRS += bindings/python
endif
-
-EXTRA_DIST = Doxyfile
diff --git a/configure.ac b/configure.ac
index f5a9d5a..e0e5117 100644
--- a/configure.ac
+++ b/configure.ac
@@ -175,6 +175,7 @@ AC_CONFIG_FILES([bindings/cxx/libswocxx.pc])
AC_CONFIG_FILES([bindings/python/Makefile])
AC_CONFIG_FILES([bindings/python/setup.py])
AC_CONFIG_FILES([libswo.pc])
+AC_CONFIG_FILES([Doxyfile])
AC_OUTPUT