[sundials] 03/10: examples shipped in the -dev package, not the -doc

Dima Kogan dima at secretsauce.net
Mon May 29 23:37:39 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkogan pushed a commit to branch master
in repository sundials.

commit bc325b6812779c0545e4bc6092f30dd0ef5a59e6
Author: Dima Kogan <dima at secretsauce.net>
Date:   Sat May 27 22:18:08 2017 -0700

    examples shipped in the -dev package, not the -doc
---
 debian/control                 | 14 --------------
 debian/libsundials-dev.docs    |  2 ++
 debian/libsundials-dev.install |  3 +++
 debian/libsundials-doc.install |  2 --
 debian/rules                   |  2 --
 5 files changed, 5 insertions(+), 18 deletions(-)

diff --git a/debian/control b/debian/control
index 166d455..2aaf014 100644
--- a/debian/control
+++ b/debian/control
@@ -185,17 +185,3 @@ Depends: libsundials-arkode1              (= ${binary:Version}),
 Description: wrong. not meta. Meta-package for development using SUNDIALS
  This package all development files necessary to build applications using
  SUNDIALS (SUite of Nonlinear and DIfferential/ALgebraic equation Solvers).
-
-Package: libsundials-doc
-Architecture: all
-Section: doc
-Depends: ${misc:Depends}
-Description: SUNDIALS examples files
- The family of solvers referred to as SUNDIALS (SUite of Nonlinear and
- DIfferential/ALgebraic equation Solvers) consists of solvers CVODE
- (for ODE systems), CVODES (ODE with sensitivity analysis capabilities),
- IDA (for differential-algebraic systems), and KINSOL (for nonlinear
- algebraic systems).
- .
- is this the correct description? examples don't come with each individual
- sublibrary? This package contains SUNDIALS examples.
diff --git a/debian/libsundials-dev.docs b/debian/libsundials-dev.docs
new file mode 100644
index 0000000..bc1eb24
--- /dev/null
+++ b/debian/libsundials-dev.docs
@@ -0,0 +1,2 @@
+examples
+
diff --git a/debian/libsundials-dev.install b/debian/libsundials-dev.install
index b46088d..a75ecef 100644
--- a/debian/libsundials-dev.install
+++ b/debian/libsundials-dev.install
@@ -3,3 +3,6 @@ usr/include/*
 usr/lib/*/*.a
 usr/lib/*/*.so
 
+# needed for the nvector examples. These use this source file, so I need to ship
+# it
+src/sundials/sundials_nvector.c usr/share/doc/libsundials-dev/examples/nvector
diff --git a/debian/libsundials-doc.install b/debian/libsundials-doc.install
deleted file mode 100644
index 8bcad78..0000000
--- a/debian/libsundials-doc.install
+++ /dev/null
@@ -1,2 +0,0 @@
-examples usr/share/doc/libsundials-doc
-src/sundials/sundials_nvector.c usr/share/doc/libsundials-doc/examples/nvector
diff --git a/debian/rules b/debian/rules
index b03404d..e454aec 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,8 +48,6 @@ override_dh_auto_install:
 # to libraries that actually live in standard locations, so the tags are not
 # needed
 	find debian/tmp/ -name '*.so' -o -name '*.so.*' -exec chrpath -d '{}' \;
-	dh_install -a -Nlibsundials-doc
-	dh_install -plibsundials-doc -X.txt -X.out -X.in -XREADME
 
 #
 #to generate symbols

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sundials.git



More information about the debian-science-commits mailing list