[pkg-nvidia-devel] r724 - in /packages/libvdpau/trunk/debian: changelog control rules

ceros-guest at users.alioth.debian.org ceros-guest at users.alioth.debian.org
Thu Feb 11 01:47:59 UTC 2010


Author: ceros-guest
Date: Thu Feb 11 01:47:59 2010
New Revision: 724

URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=724
Log:
Don't build documentation for binary only uploads.

Modified:
    packages/libvdpau/trunk/debian/changelog
    packages/libvdpau/trunk/debian/control
    packages/libvdpau/trunk/debian/rules

Modified: packages/libvdpau/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/libvdpau/trunk/debian/changelog?rev=724&op=diff
==============================================================================
--- packages/libvdpau/trunk/debian/changelog (original)
+++ packages/libvdpau/trunk/debian/changelog Thu Feb 11 01:47:59 2010
@@ -1,3 +1,12 @@
+libvdpau (0.4-2) unstable; urgency=low
+
+  * Add dependencies for documentation to Build-Depends-Indep.
+  * Define a function in debian/rules that can be used to enable or disable
+    building of the documentation depending on if the necessary dependencies
+    are installed.
+
+ -- Andres Mejia <mcitadel at gmail.com>  Wed, 10 Feb 2010 19:53:29 -0500
+
 libvdpau (0.4-1) unstable; urgency=low
 
   * New upstream release.

Modified: packages/libvdpau/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/libvdpau/trunk/debian/control?rev=724&op=diff
==============================================================================
--- packages/libvdpau/trunk/debian/control (original)
+++ packages/libvdpau/trunk/debian/control Thu Feb 11 01:47:59 2010
@@ -6,7 +6,7 @@
            Andres Mejia <mcitadel at gmail.com>,
 DM-Upload-Allowed: yes
 Build-Depends: debhelper (>= 7.0.50), pkg-config, libx11-dev,
- doxygen, graphviz, texlive-binaries, texlive-base,
+Build-Depends-Indep: doxygen, graphviz, texlive-binaries, texlive-base,
 Standards-Version: 3.8.4
 Homepage: http://cgit.freedesktop.org/~aplattner/libvdpau
 Vcs-Svn: svn://svn.debian.org/svn/pkg-nvidia/packages/libvdpau

Modified: packages/libvdpau/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/libvdpau/trunk/debian/rules?rev=724&op=diff
==============================================================================
--- packages/libvdpau/trunk/debian/rules (original)
+++ packages/libvdpau/trunk/debian/rules Thu Feb 11 01:47:59 2010
@@ -1,6 +1,13 @@
 #!/usr/bin/make -f
 
-CONFIGURE_OPTIONS ?= --enable-documentation
+# Used to enable documentation if dependencies are available
+define cond_enable
+	$(shell if test -x /usr/bin/doxygen && test -x /usr/bin/dot \
+		&& test -x /usr/bin/pdftex; then echo --enable-documentation; \
+		else echo --disable-documentation; fi )
+endef
+
+CONFIGURE_OPTIONS ?= $(call cond_enable)
 
 %:
 	dh $@




More information about the Pkg-nvidia-devel mailing list