Implement packaging.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user