[Pkg-scicomp-commits] sundials/trunk/debian

Rafael Laboissiere rafael at debian.org
Fri Feb 13 14:47:38 UTC 2009


SVN commit 4136 by rafael:

Install examples


 M  +6 -1      sundials/trunk/debian/changelog  
 M  +2 -1      sundials/trunk/debian/control  
 M  +12 -0     sundials/trunk/debian/rules  


--- sundials/trunk/debian/changelog #4135:4136
@@ -28,7 +28,12 @@
     libsundials-kinsol0,libsundials-nvecserial0}.symbols : Add shared
     library symbols files
   * debian/check.sh: Add script for exercising the serial checks
-  * debian/rules: (build/libsundials-serial): Call debian/check.sh
+  * debian/rules:
+    + (build/libsundials-serial): Call debian/check.sh
+    + (binary-install/libsundials-serial-dev): Install
+      the *.c, *.f, *.out, and READMe files from the examples/ directory.
+  * debian/control: Mention the presence of the examples in the
+    description of the libsundials-serial-dev package
   * debian/patches/modern-ltmain.sh.patch: Add header and make Lintian happy
   * debian/source.lintian-overrides: Override the ancient-libtool warning
 
--- sundials/trunk/debian/control #4135:4136
@@ -79,7 +79,8 @@
  algebraic systems).
  .
  This package contains files necessary for development applications using
- SUNDIALS in C and, in case of FCVODE and FKINSOL, Fortran.
+ 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
--- sundials/trunk/debian/rules #4135:4136
@@ -12,8 +12,11 @@
 DEB_MAKE_INSTALL_TARGET := install prefix=$(debusr)
 
 DEB_INSTALL_MANPAGES_libsundials-serial-dev := debian/sundials-config.1
+DEB_INSTALL_EXAMPLES_libsundials-serial-dev := examples/*
 DEB_DH_INSTALL_SOURCEDIR = $(DEB_DESTDIR)
 
+DEB_COMPRESS_EXCLUDE = .c .out .f
+
 # The following hack is necessary because the upstream makefiles do
 # not install $libdir and $includedir or $mandir
 common-install-prehook-impl::
@@ -27,3 +30,12 @@
 
 build/libsundials-serial::
 	$(SHELL) debian/check.sh
+
+debexp = debian/libsundials-serial-dev/usr/share/doc/libsundials-serial-dev/examples
+
+binary-install/libsundials-serial-dev::
+	find $(debexp) -name .libs -exec rm -rf {} +
+	find $(debexp) \
+	        -type f -a ! \( -name README -o -name \*.out		\
+				   -o -name \*.f -o -name \*.c \)	\
+		-a -exec rm -f \{\} \;



More information about the Pkg-scicomp-commits mailing list