[Pkg-ocaml-maint-commits] [dose3] 06/08: d/rules: simplify override_dh_auto_configure target

Johannes Schauer josch at moszumanska.debian.org
Thu Aug 27 08:08:23 UTC 2015


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

josch pushed a commit to branch master
in repository dose3.

commit 1d59d4946bda3cb293b66bdd1fad4157b313a503
Author: Johannes Schauer <josch at debian.org>
Date:   Thu Aug 27 09:04:39 2015 +0200

    d/rules: simplify override_dh_auto_configure target
---
 debian/changelog | 1 +
 debian/rules     | 5 +----
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index bc98fc4..be1a4ce 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,7 @@ dose3 (4.0-1) unstable; urgency=medium
   * add patch make-doc-target-work to make `make doc` work again
   * bump d/compat to 9. It has been in stable since wheezy and even
     old-old-stable has debhelper (>= 9) in backports.
+  * simplify override_dh_auto_configure target
 
  -- Ralf Treinen <treinen at debian.org>  Wed, 26 Aug 2015 21:36:52 +0200
 
diff --git a/debian/rules b/debian/rules
index b8f962c..e817a0e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,10 +5,7 @@ RELEASE = $(shell dpkg-parsechangelog | grep ^Version: | cut -f 2 -d' ')
 	dh $@ --with ocaml
 
 override_dh_auto_configure:
-	rm -f doc/debcheck.primer/version.tex
-	# use the following line when autoconf stuff is patched
-	# aclocal -I m4 && autoconf
-	./configure --with-ocamlgraph --with-zip --with-bz2 --with-rpm4
+	dh_auto_configure -- --with-ocamlgraph --with-zip --with-bz2 --with-rpm4
 
 override_dh_auto_install:
 	dh_auto_install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/dose3.git



More information about the Pkg-ocaml-maint-commits mailing list