From 399e3a662c0ddb81cae94804a96416ae856e7507 Mon Sep 17 00:00:00 2001 From: Jarkko Sakkinen Date: Thu, 21 Nov 2013 17:36:35 +0200 Subject: [PATCH] doc: show version Fix documentation to show correct package version. --- configure.ac | 1 + doc/{Doxyfile => Doxyfile.in} | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) rename doc/{Doxyfile => Doxyfile.in} (99%) diff --git a/configure.ac b/configure.ac index eb572d9..8718c90 100644 --- a/configure.ac +++ b/configure.ac @@ -22,6 +22,7 @@ else AC_MSG_RESULT([no]) fi AM_CONDITIONAL([ENABLE_DOXYGEN],[test ! -z "$DOXYGEN"], [Build API documentation.]) +AM_COND_IF([ENABLE_DOXYGEN], [AC_CONFIG_FILES([doc/Doxyfile])]) AC_SUBST([DOXYGEN], [$DOXYGEN]) # systemd diff --git a/doc/Doxyfile b/doc/Doxyfile.in similarity index 99% rename from doc/Doxyfile rename to doc/Doxyfile.in index 66d7170..109618e 100644 --- a/doc/Doxyfile +++ b/doc/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 = $(PROJECT)-$(VERSION) +PROJECT_NAME = libsmack # 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 -- 2.7.4