From eb57e325abcfef5324b428092a52fd440ffb3126 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 1 Oct 2008 14:18:46 +0000 Subject: Library versioning. Work on documentation buildding. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@1573 a436a847-0d15-0410-975c-d299462d15a1 --- doc/reference.doxygen.in | 4 ++-- wscript | 17 ++++++++++++++++- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/doc/reference.doxygen.in b/doc/reference.doxygen.in index f01c914..dd65b3c 100644 --- a/doc/reference.doxygen.in +++ b/doc/reference.doxygen.in @@ -31,14 +31,14 @@ PROJECT_NAME = "RAUL" # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = @PACKAGE_VERSION@ +PROJECT_NUMBER = @RAUL_VERSION@ # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put. # If a relative path is entered, it will be relative to the location # where doxygen was started. If left blank the current directory will be used. -OUTPUT_DIRECTORY = +OUTPUT_DIRECTORY = @RAUL_DOC_DIR@ # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create # 4096 sub-directories (in 2 levels) under the output directory of each output diff --git a/wscript b/wscript index 2a9a4a7..a87e05d 100644 --- a/wscript +++ b/wscript @@ -5,6 +5,16 @@ import autowaf # Version of this package (even if built as a child) RAUL_VERSION = '0.5.1' +# Library version (UNIX style major, minor, micro) +# major increment <=> incompatible changes +# minor increment <=> compatible changes (additions) +# micro increment <=> no interface changes +# Version history: +# 0.4.0 = 0,0,0 +# 0.5.0 = 1,0,0 (SVN r1283) +# 0.5.1 = 2,0,0 +RAUL_LIB_VERSION = '2.0.0' + # Variables for 'waf dist' APPNAME = 'raul' VERSION = RAUL_VERSION @@ -50,7 +60,12 @@ def build(bld): obj.name = 'libraul' obj.target = 'raul' obj.uselib = 'GLIBMM GTHREAD JACK' - obj.vnum = '1.0.0' + obj.vnum = RAUL_LIB_VERSION # Unit tests bld.add_subdirs('tests') + + # Documentation + autowaf.build_dox(bld, 'RAUL', RAUL_VERSION, srcdir, blddir) + install_files('PREFIX', 'share/doc/raul', blddir + '/default/doc/html/*') + -- cgit v1.2.1