[cddlib] 01/01: Move the reference manual to a doc package.
Tobias Hansen
thansen at alioth.debian.org
Thu Aug 15 17:52:50 UTC 2013
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository cddlib.
commit 8d058f4725b6288be94768fe65ec5a9d66d4c601
Author: Tobias Hansen <tobias.han at gmx.de>
Date: Thu Aug 15 19:55:16 2013 +0200
Move the reference manual to a doc package.
---
debian/changelog | 8 ++++++++
debian/control | 19 ++++++++++++++++++-
debian/{libcdd-dev.doc-base => libcdd-doc.doc-base} | 4 ++--
debian/{libcdd-dev.docs => libcdd-doc.docs} | 0
debian/rules | 9 +++------
5 files changed, 31 insertions(+), 9 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 93e6807..3ede0ce 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+cddlib (094g-3) unstable; urgency=low
+
+ * Move the reference manual to a separate package libcdd-doc,
+ because the file is diffeerent on all architectures.
+ (Closes: #718179)
+
+ -- Tobias Hansen <thansen at debian.org> Thu, 15 Aug 2013 19:46:33 +0200
+
cddlib (094g-2) unstable; urgency=low
* Team upload
diff --git a/debian/control b/debian/control
index 3abde5b..0727810 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,8 @@ Priority: optional
Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
Uploaders: Tobias Hansen <thansen at debian.org>
Homepage: http://www.inf.ethz.ch/personal/fukudak/cdd_home/
-Build-Depends: debhelper (>= 9), dh-autoreconf, libgmp-dev, latexmk, latex2html
+Build-Depends: debhelper (>= 9), dh-autoreconf, libgmp-dev
+Build-Depends-Indep: latexmk, latex2html
# latex2html is required due to html.sty.
Standards-Version: 3.9.4
Vcs-Git: git://anonscm.debian.org/debian-science/packages/cddlib.git
@@ -68,3 +69,19 @@ Description: debugging symbols for libcdd0d
programming problems.
.
This package contains the debugging symbols for libcdd0d.
+
+Package: libcdd-doc
+Architecture: all
+Section: doc
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Replaces: libcdd-dev (<< 094g-3)
+Breaks: libcdd-dev (<< 094g-3)
+Description: documentation for libcdd
+ The cddlib library is a C library for manipulating general convex
+ polyhedra. It supports converting between the system of linear
+ inequalities representation and a vertices and extreme rays
+ representation of a polyhedron, and also supports solving linear
+ programming problems.
+ .
+ This package contains the cddlib reference manual.
+
diff --git a/debian/libcdd-dev.doc-base b/debian/libcdd-doc.doc-base
similarity index 91%
rename from debian/libcdd-dev.doc-base
rename to debian/libcdd-doc.doc-base
index b377660..24d7dc8 100644
--- a/debian/libcdd-dev.doc-base
+++ b/debian/libcdd-doc.doc-base
@@ -18,5 +18,5 @@ Abstract: This is a reference manual for cddlib-094. The manual describes the li
Section: Science/Mathematics
Format: PDF
-Index: /usr/share/doc/libcdd-dev/cddlibman.pdf.gz
-Files: /usr/share/doc/libcdd-dev/cddlibman.pdf.gz
+Index: /usr/share/doc/libcdd-doc/cddlibman.pdf.gz
+Files: /usr/share/doc/libcdd-doc/cddlibman.pdf.gz
diff --git a/debian/libcdd-dev.docs b/debian/libcdd-doc.docs
similarity index 100%
rename from debian/libcdd-dev.docs
rename to debian/libcdd-doc.docs
diff --git a/debian/rules b/debian/rules
index c4b0dc9..cad4a2e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,18 +5,15 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-undefined
%:
dh $@ --parallel --with-autoreconf
-override_dh_auto_configure:
+override_dh_auto_configure-indep:
rm -f doc/html.sty
cd doc && latexmk -C
- dh_auto_configure
-override_dh_auto_build:
+override_dh_auto_build-indep:
cd doc && latexmk -pdf cddlibman.tex
- dh_auto_build
-override_dh_auto_clean:
+override_dh_auto_clean-indep:
cd doc && latexmk -C
- dh_auto_clean
.PHONY: override_dh_strip
override_dh_strip:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cddlib.git
More information about the debian-science-commits
mailing list