summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.qmake.conf3
-rw-r--r--doc/doc.pri18
-rw-r--r--neptuneui.pro5
3 files changed, 15 insertions, 11 deletions
diff --git a/.qmake.conf b/.qmake.conf
index b734f94..020bf4e 100644
--- a/.qmake.conf
+++ b/.qmake.conf
@@ -1 +1,4 @@
#This empty file is required by qmake to generate the documentation targets.
+VERSION = 1.1.0
+
+CONFIG += prepare_docs qt_docs_targets
diff --git a/doc/doc.pri b/doc/doc.pri
index 5b56ae7..1d81e30 100644
--- a/doc/doc.pri
+++ b/doc/doc.pri
@@ -1,14 +1,16 @@
-isEmpty(VERSION): VERSION=1.0.0
build_online_docs: {
QMAKE_DOCS = $$PWD/online/neptuneui.qdocconf
} else {
QMAKE_DOCS = $$PWD/neptuneui.qdocconf
}
-CONFIG += prepare_docs
-load(qt_docs_targets)
-
-OTHER_FILES += \
- $$PWD/*.qdocconf \
- $$PWD/src/*.qdoc \
- $$PWD/src/images/*.png
+DISTFILES += \
+ $$PWD/neptuneui.qdocconf \
+ $$PWD/online/neptuneui.qdocconf \
+ $$PWD/src/neptuneui-index.qdoc \
+ $$PWD/src/images/emulator-automotive.png \
+ $$PWD/src/images/infotainment-cluster-apps.png \
+ $$PWD/src/images/infotainment-cluster-carsettings.png \
+ $$PWD/src/images/infotainment-cluster-mycar.png \
+ $$PWD/src/images/infotainment-cluster-settings.png \
+ $$PWD/src/images/infotainment-cluster.png
diff --git a/neptuneui.pro b/neptuneui.pro
index 7413263..481f7df 100644
--- a/neptuneui.pro
+++ b/neptuneui.pro
@@ -1,10 +1,9 @@
-include(doc/doc.pri)
-
TEMPLATE = subdirs
SUBDIRS = plugins/datasource \
plugins/screenmanager \
- plugins/comtqci18ndemo
+ plugins/comtqci18ndemo \
+ doc
isEmpty(INSTALL_PREFIX) {
INSTALL_PREFIX=/opt