aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Exojo <suy@badopi.org>2013-02-20 16:08:22 +0100
committerJoerg Bornemann <joerg.bornemann@digia.com>2013-02-22 11:38:52 +0100
commit0cc2dc827a6732e6f1a23a22bbd73ab5ae0778dd (patch)
treeb192bf6eb1804998e17d368a7219d129835300c4
parent7b0b4e7b49ef4c6004952981686e9a6c479d36d2 (diff)
Install the plugin libraries and share/qbs
Change-Id: I003f991cb143de6af87a7b9a058cbb41efcbf50e Reviewed-by: Christian Kandeler <christian.kandeler@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-rw-r--r--qbs.pro1
-rw-r--r--share/share.pri3
-rw-r--r--src/plugins/scanner/cpp/cpp.pro3
-rw-r--r--src/plugins/scanner/qt/qt.pro3
4 files changed, 10 insertions, 0 deletions
diff --git a/qbs.pro b/qbs.pro
index 39b0ac33a..88c8c7be3 100644
--- a/qbs.pro
+++ b/qbs.pro
@@ -46,3 +46,4 @@ OTHER_FILES += \
include(qbs_version.pri)
include(doc/doc.pri)
+include(share/share.pri)
diff --git a/share/share.pri b/share/share.pri
new file mode 100644
index 000000000..eb476dc8b
--- /dev/null
+++ b/share/share.pri
@@ -0,0 +1,3 @@
+shared.files = $${PWD}/qbs
+shared.path = /share
+INSTALLS += shared
diff --git a/src/plugins/scanner/cpp/cpp.pro b/src/plugins/scanner/cpp/cpp.pro
index 548de3c7d..49114499f 100644
--- a/src/plugins/scanner/cpp/cpp.pro
+++ b/src/plugins/scanner/cpp/cpp.pro
@@ -13,3 +13,6 @@ HEADERS += CPlusPlusForwardDeclarations.h Lexer.h Token.h ../scanner.h \
cpp_global.h
SOURCES += Lexer.cpp Token.cpp \
cppscanner.cpp
+
+target.path = /plugins
+INSTALLS += target
diff --git a/src/plugins/scanner/qt/qt.pro b/src/plugins/scanner/qt/qt.pro
index 9989445d9..07e6aa3e2 100644
--- a/src/plugins/scanner/qt/qt.pro
+++ b/src/plugins/scanner/qt/qt.pro
@@ -10,3 +10,6 @@ unix: CONFIG += plugin
HEADERS += ../scanner.h
SOURCES += \
qtscanner.cpp
+
+target.path = /plugins
+INSTALLS += target