diff options
-rw-r--r-- | doc/reference.doxygen.in | 4 | ||||
-rw-r--r-- | 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 @@ -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/*') + |