[SCM] Soprano RDF Framework packaging branch, master, updated. debian/2.7.5+dfsg.1-1-7-g3baa00f

Pino Toscano pino at alioth.debian.org
Thu May 24 17:48:30 UTC 2012


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-req/soprano.git;a=commitdiff;h=046244d

The following commit has been merged in the master branch:
commit 046244d3154db8732228a459cb10e3c20644d7a4
Author: Pino Toscano <pino at debian.org>
Date:   Thu May 24 17:04:10 2012 +0200

    generate the apidox only when libsoprano-doc is being built too
---
 debian/changelog |    1 +
 debian/rules     |   10 +++++++++-
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ebbf2c1..01ba181 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ soprano (2.7.6+dfsg.1-0r1) UNRELEASED; urgency=low
     - soprano does not use installdox anymore. (Closes: #674346)
   * Refresh the patches.
   * Bump Standards-Version to 3.9.3, no changes required.
+  * Generate the apidox only when libsoprano-doc is being built too.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sat, 03 Dec 2011 10:44:51 -0300
 
diff --git a/debian/rules b/debian/rules
index 124dab7..4ffbe85 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,11 +7,19 @@ dh = --builddirectory=$(builddir)
 include /usr/share/pkg-kde-tools/qt-kde-team/2/debian-qt-kde.mk
 
 override_dh_auto_configure:
-	$(overridden_command) -- -DSOPRANO_BUILD_API_DOCS=ON \
+	$(overridden_command) -- -DSOPRANO_BUILD_API_DOCS=OFF \
 		-DSOPRANO_DISABLE_SESAME2_BACKEND=ON
 
+override_dh_auto_install:
+	$(overridden_command)
+ifneq (,$(filter %-doc,$(shell dh_listpackages)))
+	dh_auto_build --builddirectory=$(builddir) -Smakefile -- apidox
+endif
+
 override_dh_install:
+ifneq (,$(filter %-doc,$(shell dh_listpackages)))
 	$(overridden_command) -plibsoprano-doc --sourcedir=$(builddir)
+endif
 	$(overridden_command) --remaining-packages
 
 override_dh_makeshlibs:

-- 
Soprano RDF Framework packaging



More information about the pkg-kde-commits mailing list