~renatofilho/buteo-syncfw/network-status-fix

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
DOXYGEN_BIN = $$system(command -v doxygen)
isEmpty(DOXYGEN_BIN):error("Unable to detect doxygen in PATH")

QMAKE_EXTRA_TARGETS += doc
doc.target = doc
doc.CONFIG = phony
doc.commands = cd $${PWD} && $${DOXYGEN_BIN} Doxyfile
doc.depends = FORCE

QMAKE_CLEAN += $${PWD}/html/* $${PWD}/buteo-syncfw.tag

htmldocs.files = $${PWD}/html/*
htmldocs.path = /usr/share/doc/buteo-syncfw-doc/
htmldocs.CONFIG += no_check_exist

INSTALLS += htmldocs