fixed the version number in the Yams plug-in documentation, the @VERSION@ variable is now used to generate a conf.py file with the right version number

This commit is contained in:
rnc 2013-04-05 16:52:04 +00:00
parent fe6504b34f
commit 1f21d80b1b
3 changed files with 6 additions and 4 deletions

View File

@ -577,6 +577,7 @@ AC_OUTPUT([ \
src/Tools/MeshCut/Makefile \
src/Tools/YamsPlug/Makefile \
src/Tools/YamsPlug/doc/Makefile \
src/Tools/YamsPlug/doc/conf.py \
src/Tools/padder/Makefile \
src/Tools/padder/meshjob/Makefile \
src/Tools/padder/meshjob/idl/Makefile \

View File

@ -11,11 +11,12 @@ SOURCEDIR = $(srcdir)
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
CONF_FILE_DIR = .
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) $(SOURCEDIR)
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees -c $(CONF_FILE_DIR) $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) $(SOURCEDIR)
.PHONY: help clean html latexpdf

View File

@ -35,16 +35,16 @@ source_suffix = '.rst'
master_doc = 'index'
# General substitutions.
project = 'YAMS Plug_in'
project = 'YAMS Plug-in'
copyright = '2011, Pascale Noyret'
# The default replacements for |version| and |release|, also used in various
# other places throughout the built documents.
#
# The short X.Y version.
version = '6.4'
version = '@VERSION@'
# The full version, including alpha/beta/rc tags.
release = '6.4.0'
release = '@VERSION@'
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used: