doc: show version
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Thu, 21 Nov 2013 15:36:35 +0000 (17:36 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Thu, 21 Nov 2013 15:41:48 +0000 (17:41 +0200)
Fix documentation to show correct package version.
(cherry picked from commit 399e3a662c0ddb81cae94804a96416ae856e7507)

configure.ac
doc/Doxyfile.in [moved from doc/Doxyfile with 99% similarity]

index a6a37fe..5de3847 100644 (file)
@@ -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
similarity index 99%
rename from doc/Doxyfile
rename to doc/Doxyfile.in
index 66d7170..109618e 100644 (file)
@@ -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