File: doc.pri

package info (click to toggle)
accounts-qml-module 0.7%2Bgit20231028.05e79eb-6
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 580 kB
  • sloc: cpp: 3,817; makefile: 35; sh: 5
file content (25 lines) | stat: -rw-r--r-- 564 bytes parent folder | download | duplicates (2)
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