[libmatio] 04/05: Make sure that the package builds twice in a row

Sébastien Villemot sebastien at debian.org
Sat Jan 16 20:42:35 UTC 2016


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

sebastien pushed a commit to annotated tag debian/1.5.1-1
in repository libmatio.

commit 965e63187a5d31152e3af9b2f168bd803a48dac8
Author: Sébastien Villemot <sebastien.villemot at ens.fr>
Date:   Tue Aug 7 10:41:28 2012 +0000

    Make sure that the package builds twice in a row
---
 changelog | 3 +++
 control   | 2 +-
 rules     | 8 +++++---
 3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/changelog b/changelog
index 2be32f2..8f30218 100644
--- a/changelog
+++ b/changelog
@@ -3,6 +3,9 @@ libmatio (1.5.0-1~exp2) UNRELEASED; urgency=low
   * debian/rules: add -lhdf5 to libmatio_la_LIBADD, so that libmatio2
     depends on libhdf5-7
   * debian/control: add missing dep of libmatio-dev on libhdf5-dev
+  * Make sure that the package builds twice in a row:
+    + Manually clean documentation/matio_user_guide.pdf and test/atconfig
+    + Wrap call to autogen.sh using dh-autoreconf
 
  -- Sébastien Villemot <sebastien.villemot at ens.fr>  Tue, 07 Aug 2012 10:34:42 +0000
 
diff --git a/control b/control
index d9a8aa0..73de90b 100644
--- a/control
+++ b/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Sylvestre Ledru <sylvestre at debian.org>
 Build-Depends: debhelper (>= 5), autotools-dev, libtool, cdbs, zlib1g-dev, 
- gfortran, texinfo, automake, texlive, libhdf5-dev
+ gfortran, texinfo, automake, texlive, libhdf5-dev, dh-autoreconf
 Standards-Version: 3.9.3
 Homepage: http://sourceforge.net/projects/matio
 Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/libmatio/trunk
diff --git a/rules b/rules
index d4af0fe..d4f9824 100755
--- a/rules
+++ b/rules
@@ -2,16 +2,18 @@
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 
 DEB_CONFIGURE_NORMAL_ARGS += --enable-shared --with-hdf5 --enable-fortran
 DEB_MAKE_BUILD_TARGET     := libmatio_la_LIBADD="-lz -lhdf5"
 DEB_COMPRESS_EXCLUDE := .pdf
-
-debian/stamp-autotools-files:
-	sh autogen.sh
+DEB_DH_AUTORECONF_ARGS += ./autogen.sh
 
 install/libmatio-doc::
 	(cd documentation/; make pdf)
 
+clean::
+	rm -f documentation/matio_user_guide.pdf test/atconfig
+
 get-orig-source:
 	-uscan --upstream-version=0 --rename

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



More information about the debian-science-commits mailing list