Prechádzať zdrojové kódy

docs: auto-generate the version

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld 15 rokov pred
rodič
commit
b6ba64c1eb
3 zmenil súbory, kde vykonal 5 pridanie a 3 odobranie
  1. 1 0
      .gitignore
  2. 2 2
      Doxyfile.in
  3. 2 1
      configure.ac

+ 1 - 0
.gitignore

@@ -4,6 +4,7 @@
 *.so*
 *.so*
 .deps
 .deps
 .version
 .version
+doc
 Makefile
 Makefile
 Makefile.in
 Makefile.in
 corosync.spec
 corosync.spec

+ 2 - 2
Doxyfile → Doxyfile.in

@@ -31,7 +31,7 @@ PROJECT_NAME           = corosync
 # This could be handy for archiving the generated documentation or
 # This could be handy for archiving the generated documentation or
 # if some version control system is used.
 # 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.
 # 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
 # contain msc files that are included in the documentation (see the
 # \mscfile command).
 # \mscfile command).
 
 
-MSCFILE_DIRS           =
+#MSCFILE_DIRS           =
 
 
 # The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of
 # 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
 # nodes that will be shown in the graph. If the number of nodes in a graph

+ 2 - 1
configure.ac

@@ -133,7 +133,8 @@ AC_CONFIG_FILES([Makefile
 		 cts/agents/Makefile
 		 cts/agents/Makefile
 		 cts/CTSvars.py
 		 cts/CTSvars.py
 		 tools/Makefile
 		 tools/Makefile
-		 conf/Makefile])
+		 conf/Makefile
+                 Doxyfile])
 
 
 ### Local business
 ### Local business