[sundials] 08/76: remove pdf doc files from orig tarball

Andreas Tille tille at debian.org
Sun Feb 5 18:44:50 UTC 2017


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

tille pushed a commit to branch master
in repository sundials.

commit e5d063382dcfe64c5ceda49f89d1062ac718f54e
Author: Christophe Trophime <christophe.trophime at lncmi.cnrs.fr>
Date:   Mon Jul 19 07:08:16 2010 +0000

    remove pdf doc files from orig tarball
---
 debian/README.source |  2 ++
 debian/changelog     |  9 ++++++++-
 debian/control       | 26 +++++++++++++-------------
 debian/rules         | 10 +++++++++-
 4 files changed, 32 insertions(+), 15 deletions(-)

diff --git a/debian/README.source b/debian/README.source
index a79d7d1..7aa58c7 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -4,3 +4,5 @@ sundials source for Debian
 Packaging makes use of CDBS and quilt. For the latter see
 `/usr/share/doc/quilt/README.source'.
 
+Documentation files included in the distribution have been removed
+You can find sundials documentation on https://computation.llnl.gov/casc/sundials/documentation/documentation.html
diff --git a/debian/changelog b/debian/changelog
index 6379444..ad0bff1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,16 @@
+sundials (2.4.0-2) unstable; urgency=low
+
+  * debian/rules: remove pdf documentation files from orig tarball
+  * debian/control: remove libsundials-serial-doc
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Mon, 19 Jul 2010 08:51:47 +0200
+
 sundials (2.4.0-1) unstable; urgency=low
 
   * Team upload
   * New upstream version
   * Add a separate package for IDAS
-  * debian/control:  add missing builddependencies on blas/lpack
+  * debian/control:  add missing builddependencies on blas/lapack
 
  -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Tue, 29 Jun 2010 10:52:57 +0100
 
diff --git a/debian/control b/debian/control
index 918d4d1..f536ed0 100644
--- a/debian/control
+++ b/debian/control
@@ -91,17 +91,17 @@ Description: SUNDIALS development files
  SUNDIALS in C and, in case of FCVODE and FKINSOL, Fortran.  It also
  contains various example programs distributed by the upstream authors.
 
-Package: libsundials-serial-doc
-Section: doc
-Architecture: all
-Depends: ${misc:Depends}
-Recommends: libsundials-serial-dev
-Description: SUNDIALS documentation files
- The family of solvers referred to as SUNDIALS (SUit 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).
- .
- This package contains SUNDIALS documentation.
+#Package: libsundials-serial-doc
+#Section: doc
+#Architecture: all
+#Depends: ${misc:Depends}
+#Recommends: libsundials-serial-dev
+#Description: SUNDIALS documentation files
+# The family of solvers referred to as SUNDIALS (SUit 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).
+# .
+# This package contains SUNDIALS documentation.
 
diff --git a/debian/rules b/debian/rules
index 6e72f7c..a0b999f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,8 @@ DEB_DH_INSTALL_SOURCEDIR = $(DEB_DESTDIR)
 
 DEB_COMPRESS_EXCLUDE = .c .out .f
 
+USCAN_DESTDIR := $(CURDIR)
+
 # The following hack is necessary because the upstream makefiles do
 # not install $libdir and $includedir or $mandir
 common-install-prehook-impl::
@@ -29,8 +31,14 @@ common-install-prehook-impl::
 	mkdir -p $(debusr)/share/man/man1
 
 get-orig-source:
-	wget -O $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz \
+	wget -O $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).tar.gz \
 	     https://computation.llnl.gov/casc/sundials/download/code/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).tar.gz
+	tar zxvf $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).tar.gz
+	find . -name \*.pdf | xargs rm
+	tar zcvf $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)
+	rm -rf $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).tar.gz $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)
+	rm -rf $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz.*
+	
 
 build/libsundials-serial::
 	$(SHELL) debian/check.sh

-- 
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