[SCM] liblscp/master: Move developers reference's HTML files from the -dev package into a new arch-indep package: liblscp-doc.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Sun Jan 22 20:47:31 UTC 2012


The following commit has been merged in the master branch:
commit 010255d783a80f899912531d7e226df7c06593e1
Author: Alessio Treglia <alessio at debian.org>
Date:   Sun Jan 22 21:44:14 2012 +0100

    Move developers reference's HTML files from the -dev package into a new arch-indep package: liblscp-doc.
    
    Closes: #656881

diff --git a/debian/control b/debian/control
index cb9e0e9..32251d3 100644
--- a/debian/control
+++ b/debian/control
@@ -10,9 +10,10 @@ Build-Depends:
  autoconf,
  automake,
  autotools-dev (>= 20100122.1~),
- debhelper (>= 8.1.3~),
- doxygen,
+ debhelper (>= 8.9.7~),
  libtool
+Build-Depends-Indep:
+ doxygen
 Standards-Version: 3.9.2
 Homepage: http://www.linuxsampler.org
 Vcs-Git: git://git.debian.org/pkg-multimedia/liblscp.git
@@ -41,6 +42,8 @@ Multi-Arch: same
 Depends:
  liblscp6 (= ${binary:Version}),
  ${misc:Depends}
+Suggests:
+ liblscp-doc
 Description: Development files for LinuxSampler Control Protocol library
  This package is for use with the LinuxSampler audio sampling
  engine / library and packages.
@@ -51,6 +54,18 @@ Description: Development files for LinuxSampler Control Protocol library
  development with liblscp. You will need this only if you
  intend to compile programs that use this library.
 
+Package: liblscp-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: Documentation for LinuxSampler Control Protocol library
+ This package is for use with the LinuxSampler audio sampling
+ engine /  library and packages.
+ Wraps the LinuxSampler network protocol and offers a
+ convenient API in form of a C library.
+ .
+ This package contains the developers reference of liblscp.
+
 Package: liblscp6
 Section: libs
 Architecture: any
diff --git a/debian/liblscp-dev.install b/debian/liblscp-dev.install
index cd764c0..7df81cd 100644
--- a/debian/liblscp-dev.install
+++ b/debian/liblscp-dev.install
@@ -1,4 +1,3 @@
-doc/html/* usr/share/doc/liblscp-dev/html
 usr/include/*
 usr/lib/*/lib*.so
 usr/lib/*/pkgconfig/*
diff --git a/debian/liblscp-dev.doc-base b/debian/liblscp-doc.doc-base
similarity index 67%
rename from debian/liblscp-dev.doc-base
rename to debian/liblscp-doc.doc-base
index 1003565..d640ac7 100644
--- a/debian/liblscp-dev.doc-base
+++ b/debian/liblscp-doc.doc-base
@@ -5,7 +5,5 @@ Abstract: This is a programming manual for the liblscp library.
 Section: Programming
 
 Format: HTML
-Index: /usr/share/doc/liblscp-dev/html/index.html
-Files: /usr/share/doc/liblscp-dev/html/*.html
-
-
+Index: /usr/share/doc/liblscp-doc/html/index.html
+Files: /usr/share/doc/liblscp-doc/html/*.html
diff --git a/debian/liblscp-dev.docs b/debian/liblscp-doc.docs
similarity index 100%
rename from debian/liblscp-dev.docs
rename to debian/liblscp-doc.docs
diff --git a/debian/liblscp-doc.install b/debian/liblscp-doc.install
new file mode 100644
index 0000000..8eb5996
--- /dev/null
+++ b/debian/liblscp-doc.install
@@ -0,0 +1 @@
+doc/html/* usr/share/doc/liblscp-doc/html
diff --git a/debian/rules b/debian/rules
index a6d90c0..0d4c7d2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,8 +3,7 @@
 %:
 	dh $@ --with autotools_dev
 
-override_dh_auto_build:
-	dh_auto_build
+override_dh_auto_build-indep:
 	$(MAKE) -C doc
 
 override_dh_strip:

-- 
liblscp packaging



More information about the pkg-multimedia-commits mailing list