[SCM] qtsensors packaging branch, experimental, updated. debian/5.2.1+dfsg-1-4-gba02104
Dmitry Shachnev
mitya57-guest at moszumanska.debian.org
Sun Feb 23 18:05:41 UTC 2014
Gitweb-URL: http://git.debian.org/?p=pkg-kde/qt/qtsensors.git;a=commitdiff;h=6c7e733
The following commit has been merged in the experimental branch:
commit 6c7e733428f61acf39d7fa8df2f2809a0486fb89
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date: Sun Feb 23 21:17:09 2014 +0400
Build documentation packages.
---
debian/changelog | 1 +
debian/control | 24 ++++++++++++++++++++++++
debian/qtsensors5-doc-html.install | 1 +
debian/qtsensors5-doc.install | 1 +
debian/rules | 14 +++++++++++++-
5 files changed, 40 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 0b272df..efd06d8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ qtsensors-opensource-src (5.2.1+dfsg-2) UNRELEASED; urgency=medium
[ Dmitry Shachnev ]
* Use dh_auto_test for running tests.
+ * Build documentation packages.
-- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org> Sun, 23 Feb 2014 20:38:45 +0400
diff --git a/debian/control b/debian/control
index 50e1a7a..ebe903c 100644
--- a/debian/control
+++ b/debian/control
@@ -80,3 +80,27 @@ Description: Qt sensors library debugging symbols
.
This package contains the debugging symbols for the Qt 5 Sensors
libraries.
+
+Package: qtsensors5-doc
+Priority: extra
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: Qt 5 Sensors documentation
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package contains the documentation for the Qt 5 Sensors library
+ and binaries.
+
+Package: qtsensors5-doc-html
+Priority: extra
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: Qt 5 Sensors HTML documentation
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package contains the HTML documentation for the Qt 5 Sensors
+ libraries and binaries.
diff --git a/debian/qtsensors5-doc-html.install b/debian/qtsensors5-doc-html.install
new file mode 100644
index 0000000..3c2c038
--- /dev/null
+++ b/debian/qtsensors5-doc-html.install
@@ -0,0 +1 @@
+usr/share/qt5/doc/qtsensors
diff --git a/debian/qtsensors5-doc.install b/debian/qtsensors5-doc.install
new file mode 100644
index 0000000..8aad5a2
--- /dev/null
+++ b/debian/qtsensors5-doc.install
@@ -0,0 +1 @@
+usr/share/qt5/doc/qtsensors.qch
diff --git a/debian/rules b/debian/rules
index 90c457f..d0e93d4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,10 +22,19 @@ pkgs_with_os = $(patsubst debian/%.install-$(DEB_HOST_ARCH_OS),%,$(wildcard debi
override_dh_auto_configure:
qmake QT_BUILD_PARTS+=tests
+override_dh_auto_build-arch:
+ # This override may seem futile, but it helps us make sure that the tools
+ # needed for building the docs are built before calling them.
+ # If there's a better way, do not hesitate to tell us.
+ dh_auto_build
+
+override_dh_auto_build-indep:
+ dh_auto_build -Smakefile -- docs
+
override_dh_auto_test:
xvfb-run -a dh_auto_test QT_PLUGIN_PATH=$(CURDIR)/plugins LD_LIBRARY_PATH=$(CURDIR)/lib
-override_dh_auto_install:
+override_dh_auto_install-arch:
dh_auto_install
# Fix wrong path in pkgconfig files
@@ -40,6 +49,9 @@ override_dh_auto_install:
# ... and other private stuff
rm -fv debian/tmp/usr/lib/*/qt5/mkspecs/modules/qt_lib_sensors_private.pri
+override_dh_auto_install-indep:
+ make INSTALL_ROOT=$(CURDIR)/debian/tmp install_docs
+
override_dh_install:
# Now flush all the .install-* files as .install files.
set -e; for pkg in $(pkgs_with_common); do \
--
qtsensors packaging
More information about the pkg-kde-commits
mailing list