Browse Source

do not hardcode version in doxyfile.in, subst it from waf instead

tags/v1.9.11-RC1
Karl Lindén 10 years ago
parent
commit
ad5d803a2c
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      doxyfile.in
  2. +2
    -1
      wscript

+ 1
- 1
doxyfile.in View File

@@ -31,7 +31,7 @@ PROJECT_NAME = "Jack2"
# This could be handy for archiving the generated documentation or
# if some version control system is used.

PROJECT_NUMBER = 1.9.11
PROJECT_NUMBER = @VERSION@

# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.


+ 2
- 1
wscript View File

@@ -743,7 +743,8 @@ def build(bld):
source = 'doxyfile.in',
target = 'doxyfile',
HTML_BUILD_DIR = html_build_dir,
SRCDIR = bld.srcnode.abspath()
SRCDIR = bld.srcnode.abspath(),
VERSION = VERSION
)

# There are two reasons for logging to doxygen.log and using it as


Loading…
Cancel
Save