Implement packaging.

This commit is contained in:
Victor Zverovich
2014-04-14 12:54:03 -07:00
parent 38d723f760
commit 10b2fe0f27
4 changed files with 39 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
add_custom_command(OUTPUT html/index.html
COMMAND doxygen
COMMAND rm -rf ../html
COMMAND sphinx-build -b html . ../html
COMMAND rm -rf html
COMMAND sphinx-build -b html . html
DEPENDS conf.py index.rst)
add_custom_target(doc DEPENDS html/index.html)

View File

@@ -54,7 +54,7 @@ copyright = u'1990-2012, Python Software Foundation'
# built documents.
#
# The short X.Y version.
version = '0.8'
version = '@CPACK_PACKAGE_VERSION_MAJOR@.@CPACK_PACKAGE_VERSION_MINOR@'
# The full version, including alpha/beta/rc tags.
release = version