[SCM] lv2/master: Build docs

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Wed Apr 18 11:41:24 UTC 2012


The following commit has been merged in the master branch:
commit 686e9103a3d5b22f139895397f6c3bb4515873f0
Author: Alessio Treglia <alessio at debian.org>
Date:   Wed Apr 18 13:41:20 2012 +0200

    Build docs

diff --git a/debian/control b/debian/control
index d1cd1be..9db935b 100644
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,10 @@ Build-Depends:
  perl,
  pkg-config,
  python
+Build-Depends-Indep:
+ doxygen,
+ graphviz,
+ python-rdflib
 Standards-Version: 3.9.3
 Vcs-Git: git://git.debian.org/git/pkg-multimedia/lv2.git
 Vcs-Browser: http://git.debian.org/?p=pkg-multimedia/lv2.git
diff --git a/debian/rules b/debian/rules
index 39681f6..6e0122a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,11 +3,19 @@
 
 WAF = ./waf
 
+ifeq ($(shell dpkg-query -s doxygen graphviz 1>/dev/null 2>&1 && echo yes),yes)
+CONFIGURE_EXTRA_FLAGS += --docs
+endif
+
 %:
 	dh $@
 
 override_dh_auto_configure:
-	$(WAF) configure --prefix=/usr
+	$(WAF) configure --prefix=/usr \
+		--mandir=/usr/share/man \
+		--strict \
+		--debug \
+		$(CONFIGURE_EXTRA_FLAGS)
 
 override_dh_auto_build:
 	$(WAF)

-- 
lv2 packaging



More information about the pkg-multimedia-commits mailing list