1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
include(../common-installs-config.pri)
QDOC = $$[QT_INSTALL_BINS]/qdoc
QMAKE_EXTRA_TARGETS += clean-docs docs-html clean-docs-html
CONFIG(ubuntu-docs) {
docs-html.commands = \
"$${QDOC} $${PWD}/accounts-qml-module-ubuntu.qdocconf"
} else {
docs-html.commands = \
"$${QDOC} $${PWD}/accounts-qml-module.qdocconf"
}
docs.files = $$PWD/html
docs.path = $${INSTALL_PREFIX}/share/doc/accounts-qml-module
docs.depends = docs-html
INSTALLS += docs
clean-docs-html.commands = \
"rm -rf $${PWD}/html"
clean-docs.depends = clean-docs-html
|