[python-demgengeo] 06/08: Use autoreconf.
Anton Gladky
gladk at moszumanska.debian.org
Sun Jan 26 13:48:12 UTC 2014
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch master
in repository python-demgengeo.
commit 6d394cf9f31af570949438bad7e6457004dd6bd8
Author: Anton Gladky <gladk at debian.org>
Date: Sun Jan 26 13:45:00 2014 +0100
Use autoreconf.
---
debian/control | 1 +
debian/rules | 6 ++++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 693a4e0..76d4f08 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Build-Depends:
automake (>= 1.8.2),
autotools-dev,
debhelper (>= 9),
+ dh-autoreconf,
libboost-dev,
libboost-filesystem-dev,
libboost-iostreams-dev,
diff --git a/debian/rules b/debian/rules
index a7c42da..80b2595 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,10 +5,12 @@ SRCDIR = build
CXXFLAGS := -Wall $(shell dpkg-buildflags --get CXXFLAGS)
%:
- dh $@ --with python2 --sourcedirectory=build --parallel
+ dh $@ --with python2 --sourcedirectory=build --parallel --with autoreconf
+
+extra_flags += --enable-docs
override_dh_auto_configure:
- cd $(SRCDIR) && ./autogen.sh && ./configure --prefix=/usr CXXFLAGS='$(CXXFLAGS)' --enable-docs
+ dh_auto_configure -- $(extra_flags)
override_dh_auto_install:
dh_auto_install -- DESTDIR=$(INSTDIR)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-demgengeo.git
More information about the debian-science-commits
mailing list