[libmatio] 37/48: Make sure that the package builds twice in a row

Sébastien Villemot sebastien at debian.org
Fri Jan 15 16:48:23 UTC 2016


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

sebastien pushed a commit to branch master
in repository libmatio.

commit d1809d275e4690e226e8d002dc308ff6c3bd6808
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
---
 debian/changelog | 3 +++
 debian/control   | 2 +-
 debian/rules     | 8 +++++---
 3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2be32f2..8f30218 100644
--- a/debian/changelog
+++ b/debian/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/debian/control b/debian/control
index d9a8aa0..73de90b 100644
--- a/debian/control
+++ b/debian/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/debian/rules b/debian/rules
index d4af0fe..d4f9824 100755
--- a/debian/rules
+++ b/debian/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