From: Jarkko Sakkinen Date: Thu, 21 Nov 2013 15:36:35 +0000 (+0200) Subject: doc: show version X-Git-Tag: v1.0.2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db8105487abab1c6c63cee7dd0229e0b4c502e97;p=platform%2Fupstream%2Fsmack.git doc: show version Fix documentation to show correct package version. (cherry picked from commit 399e3a662c0ddb81cae94804a96416ae856e7507) --- diff --git a/configure.ac b/configure.ac index a6a37fe..5de3847 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