[Pkg-scicomp-commits] [SCM] sundials branch, master, updated. 0c77df68fa457bd3bf29c76460554af67a8c60f6

Rafael Laboissiere rafael at debian.org
Sun May 31 10:30:46 UTC 2009


The following commit has been merged in the master branch:
commit ffbdfa6d1c81ea876429956b54d9256429374c93
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sun May 31 09:34:49 2009 +0200

    Install the examples in the -doc package instead of -dev

diff --git a/debian/changelog b/debian/changelog
index a217500..f2cb5dc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,13 @@ sundials (2.4.0-1) UNRELEASED; urgency=low
 
   * debian/control: Bump Standards-Version to 3.8.1 (no changes needed)
 
+  * debian/rules:
+    + Install the examples in the -doc package instead of -dev.  This will
+      drastically reduce the size of the later, which is architecture-
+      dependent (fix Lintian warning).
+    + Use binary-install/libsundials-serial-doc instead of -dev,
+      accordingly
+
   * debian/control: Adjust the binary package names to the new SONAMEs
   * debian/libsundials-*.{install,symbols}: Adjust the names of the
     debhelper files accordingly
diff --git a/debian/rules b/debian/rules
index c35d21c..0fc0a0c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ DEB_CONFIGURE_SCRIPT_ENV += F77="gfortran"
 DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(DEB_DESTDIR)
 
 DEB_INSTALL_MANPAGES_libsundials-serial-dev := debian/sundials-config.1
-DEB_INSTALL_EXAMPLES_libsundials-serial-dev := examples/*
+DEB_INSTALL_EXAMPLES_libsundials-serial-doc := examples/*
 DEB_DH_INSTALL_SOURCEDIR = $(DEB_DESTDIR)
 
 DEB_COMPRESS_EXCLUDE = .c .out .f
@@ -22,9 +22,10 @@ get-orig-source:
 build/libsundials-serial::
 	$(SHELL) debian/check.sh
 
-debexp = debian/libsundials-serial-dev/usr/share/doc/libsundials-serial-dev/examples
+docpkg = libsundials-serial-doc
+debexp = debian/$(docpkg)/usr/share/doc/$(docpkg)/examples
 
-binary-install/libsundials-serial-dev::
+binary-install/libsundials-serial-doc::
 	find $(debexp) -name .libs -exec rm -rf {} +
 	find $(debexp) \
 	        -type f -a ! \( -name README -o -name \*.out		\

-- 
sundials



More information about the Pkg-scicomp-commits mailing list