From ad5d803a2c2e1adbffd5fd9518287db23a43ef93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Lind=C3=A9n?= Date: Sat, 11 Apr 2015 23:48:20 +0200 Subject: [PATCH] do not hardcode version in doxyfile.in, subst it from waf instead --- doxyfile.in | 2 +- wscript | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doxyfile.in b/doxyfile.in index 7ac57162..9c5e1680 100644 --- a/doxyfile.in +++ b/doxyfile.in @@ -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. diff --git a/wscript b/wscript index b53ad3e3..b16b345c 100644 --- a/wscript +++ b/wscript @@ -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