From b6ba64c1ebb9f5ecbe8d203c010e29db45dc071e Mon Sep 17 00:00:00 2001 From: Angus Salkeld Date: Sat, 12 Mar 2011 19:39:04 +1100 Subject: [PATCH] docs: auto-generate the version Signed-off-by: Angus Salkeld Reviewed-by: Steven Dake --- .gitignore | 1 + Doxyfile => Doxyfile.in | 4 ++-- configure.ac | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) rename Doxyfile => Doxyfile.in (99%) diff --git a/.gitignore b/.gitignore index ec5b8716..30b45a17 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ *.so* .deps .version +doc Makefile Makefile.in corosync.spec diff --git a/Doxyfile b/Doxyfile.in similarity index 99% rename from Doxyfile rename to Doxyfile.in index 71814882..d300fc8a 100644 --- a/Doxyfile +++ b/Doxyfile.in @@ -31,7 +31,7 @@ PROJECT_NAME = corosync # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = 0.75 +PROJECT_NUMBER = @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 a quick idea about the purpose of the project. Keep the description short. @@ -1639,7 +1639,7 @@ DOTFILE_DIRS = # contain msc files that are included in the documentation (see the # \mscfile command). -MSCFILE_DIRS = +#MSCFILE_DIRS = # The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of # nodes that will be shown in the graph. If the number of nodes in a graph diff --git a/configure.ac b/configure.ac index 4d304ff5..1fb57cfe 100644 --- a/configure.ac +++ b/configure.ac @@ -133,7 +133,8 @@ AC_CONFIG_FILES([Makefile cts/agents/Makefile cts/CTSvars.py tools/Makefile - conf/Makefile]) + conf/Makefile + Doxyfile]) ### Local business