comparison CMakeLists.txt @ 933:af27328bea9d

(issue89) Add sphinx integration for the build system.
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 22 Aug 2014 17:06:56 +0200
parents dcb6ed6ad594
children e33a061977c8
comparison
equal deleted inserted replaced
932:57371f2e8dae 933:af27328bea9d
130 130
131 # Documentation 131 # Documentation
132 configure_file (doc/Doxyfile.in doc/Doxyfile) 132 configure_file (doc/Doxyfile.in doc/Doxyfile)
133 add_subdirectory(doc) 133 add_subdirectory(doc)
134 134
135 find_package(Sphinx)
136
137 if (NOT SPHINX_FOUND)
138 message (STATUS "WARNING could not find sphinx (Package python-sphinx). Manuals will not be built.")
139 else()
140 add_subdirectory(manuals)
141 endif()
142
135 # Configure packaging script for testing 143 # Configure packaging script for testing
136 configure_file (packaging/win-createpackage.sh.in packaging/win-createpackage.sh @ONLY) 144 configure_file (packaging/win-createpackage.sh.in packaging/win-createpackage.sh @ONLY)
137 configure_file (packaging/create-dist-package.sh.in packaging/create-dist-package.sh @ONLY) 145 configure_file (packaging/create-dist-package.sh.in packaging/create-dist-package.sh @ONLY)
138 configure_file (packaging/linux-createpackage.sh.in packaging/linux-createpackage.sh @ONLY) 146 configure_file (packaging/linux-createpackage.sh.in packaging/linux-createpackage.sh @ONLY)
139 configure_file (packaging/linux-installer.inc.in packaging/linux-installer.inc @ONLY) 147 configure_file (packaging/linux-installer.inc.in packaging/linux-installer.inc @ONLY)

http://wald.intevation.org/projects/trustbridge/