2 contains(QT_VERSION
, ^
4\
.[0-4]\
..*) {
3 message("Cannot build Cute Chess with Qt version $${QT_VERSION}.")
4 error("Qt version 4.5 or later is required.")
10 # API documentation (Doxygen)
11 doc
-api
.commands
= doxygen docs
/api
/api
.doxygen
12 QMAKE_EXTRA_TARGETS
+= doc
-api
15 doc
-man
.commands
+= a2x
-f manpage docs
/cutechess
.txt
;
16 doc
-man
.commands
+= a2x
-f manpage docs
/cutechess
-cli
.txt
17 QMAKE_EXTRA_TARGETS
+= doc
-man
20 doc
-html
.commands
+= asciidoc
-b xhtml11 docs
/cutechess
.txt
;
21 doc
-html
.commands
+= asciidoc
-b xhtml11 docs
/cutechess
-cli
.txt
22 QMAKE_EXTRA_TARGETS
+= doc
-html