rev 19954 - kde-extras/lensfun/trunk/debian

Pino Toscano pino at moszumanska.debian.org
Mon Sep 8 06:39:56 UTC 2014


Author: pino
Date: 2014-09-08 06:39:56 +0000 (Mon, 08 Sep 2014)
New Revision: 19954

Modified:
   kde-extras/lensfun/trunk/debian/changelog
   kde-extras/lensfun/trunk/debian/control
   kde-extras/lensfun/trunk/debian/rules
Log:
do not build the documentation on arch-only builds

- move the doxygen build dependency to Build-Depends-Indep
- explicitly disable the documentation build (i.e. pass -DBUILD_DOC=OFF
  to cmake) when not producing -doc packages


Modified: kde-extras/lensfun/trunk/debian/changelog
===================================================================
--- kde-extras/lensfun/trunk/debian/changelog	2014-09-08 06:35:30 UTC (rev 19953)
+++ kde-extras/lensfun/trunk/debian/changelog	2014-09-08 06:39:56 UTC (rev 19954)
@@ -5,6 +5,10 @@
     - update watch file to look on sf.net
   * Add Vcs-* headers.
   * Simplify/improve/sort .install files.
+  * Do not build the documentation on arch-only builds:
+    - move the doxygen build dependency to Build-Depends-Indep
+    - explicitly disable the documentation build (i.e. pass -DBUILD_DOC=OFF
+      to cmake) when not producing -doc packages
 
  -- Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>  Mon, 08 Sep 2014 08:07:48 +0200
 

Modified: kde-extras/lensfun/trunk/debian/control
===================================================================
--- kde-extras/lensfun/trunk/debian/control	2014-09-08 06:35:30 UTC (rev 19953)
+++ kde-extras/lensfun/trunk/debian/control	2014-09-08 06:39:56 UTC (rev 19954)
@@ -2,7 +2,8 @@
 Priority: extra
 Maintainer: Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>
 Uploaders: Mark Purcell <msp at debian.org>
-Build-Depends: debhelper (>= 9), cmake, python, doxygen, libglib2.0-dev, libpng-dev
+Build-Depends: debhelper (>= 9), cmake, python, libglib2.0-dev, libpng-dev
+Build-Depends-Indep: doxygen
 Standards-Version: 3.9.5
 Section: libs
 Homepage: http://lensfun.sourceforge.net

Modified: kde-extras/lensfun/trunk/debian/rules
===================================================================
--- kde-extras/lensfun/trunk/debian/rules	2014-09-08 06:35:30 UTC (rev 19953)
+++ kde-extras/lensfun/trunk/debian/rules	2014-09-08 06:39:56 UTC (rev 19954)
@@ -3,7 +3,11 @@
 	dh $@ --parallel --buildsystem=cmake
 
 override_dh_auto_configure:
+ifneq (,$(filter %-doc,$(shell dh_listpackages)))
 	dh_auto_configure -- -DBUILD_DOC=ON -DDOCDIR="/usr/share/doc/liblensfun-doc/html"
+else
+	dh_auto_configure -- -DBUILD_DOC=OFF
+endif
 
 override_dh_auto_clean:
 	find -name "*.pyc" -exec rm -f '{}' \;




More information about the pkg-kde-commits mailing list