doc.pri 753 Bytes
Newer Older
1 2
equals(QT_MAJOR_VERSION, 4): QDOC = qdoc3
equals(QT_MAJOR_VERSION, 5): QDOC = qdoc
3
QHELPGENERATOR = qhelpgenerator
4 5
equals(QT_MAJOR_VERSION, 4): QDOCCONF = doc/config/transfer-engine-project.qdocconf
equals(QT_MAJOR_VERSION, 5): QDOCCONF = transfer-engine-project.qdocconf
6 7 8
QHELPFILE = doc/html/transferengine.qhp
QCHFILE = doc/html/transferengine.qch

9 10 11
equals(QT_MAJOR_VERSION, 4): docs.commands = ($$QDOC $$QDOCCONF) && \
                ($$QHELPGENERATOR $$QHELPFILE -o $$QCHFILE)
equals(QT_MAJOR_VERSION, 5): docs.commands = (cd doc/config; $$QDOC $$QDOCCONF; cd ../..) && \
12 13 14 15 16 17 18 19
                ($$QHELPGENERATOR $$QHELPFILE -o $$QCHFILE)

QMAKE_EXTRA_TARGETS += docs

doc.files = doc/html/*
doc.path = /usr/share/doc/nemo-transfer-engine
INSTALLS += doc