diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-08-25 15:40:43 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-08-26 16:39:34 +0300 |
commit | 8d258e3542bddfbc12c93a43f47e3ffa76d9e7e2 (patch) | |
tree | 3c35cd438fbea14ec3afff453d28424e0aeec38b /Makefile | |
parent | af56f0303133d553723c38df81910c076ba8a89a (diff) | |
download | qtlocation-mapboxgl-8d258e3542bddfbc12c93a43f47e3ffa76d9e7e2.tar.gz |
[Qt] Initial documentation stub
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -339,6 +339,10 @@ else QT_ROOT_PATH = build/qt-$(BUILD_PLATFORM)-$(BUILD_PLATFORM_VERSION) endif +ifneq (,$(shell which qmake)) +export QT_INSTALL_DOCS = $(shell qmake -query QT_INSTALL_DOCS) +endif + export QT_OUTPUT_PATH = $(QT_ROOT_PATH)/$(BUILDTYPE) QT_BUILD = $(QT_OUTPUT_PATH)/build.ninja @@ -409,6 +413,10 @@ run-qt-test-%: qt-test .PHONY: run-qt-test run-qt-test: run-qt-test-* +.PHONY: qt-docs +qt-docs: + qdoc $(shell pwd)/platform/qt/config.qdocconf --outputdir $(shell pwd)/$(QT_OUTPUT_PATH)/docs + #### Node targets ############################################################## .PHONY: test-node |