[proj] 06/21: Use dh-autoreconf for retooling.
Bas Couwenberg
sebastic at xs4all.nl
Sat Apr 12 21:29:20 UTC 2014
This is an automated email from the git hooks/post-receive script.
sebastic-guest pushed a commit to branch master
in repository proj.
commit ab2c8089330e71403ba0011eae5f22a222399b17
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sun Apr 6 21:32:51 2014 +0200
Use dh-autoreconf for retooling.
---
debian/changelog | 1 +
debian/control | 1 +
debian/rules | 21 +++++++++++++++++++++
3 files changed, 23 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index cd9b44b..76303dc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ proj (4.8.0-3) UNRELEASED; urgency=low
* Also install geodesic.h.
* Restructure control file with cme, changes: canonical Vcs-* URLs.
* Add gbp.conf to use pristine-tar by default.
+ * Use dh-autoreconf for retooling.
-- Bas Couwenberg <sebastic at xs4all.nl> Sun, 06 Apr 2014 21:02:28 +0200
diff --git a/debian/control b/debian/control
index a99b3a8..22f0e3b 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Uploaders: Francesco Paolo Lovergine <frankie at debian.org>,
Section: science
Priority: optional
Build-Depends: debhelper (>= 9),
+ dh-autoreconf,
sharutils
Standards-Version: 3.9.3
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-grass/proj.git
diff --git a/debian/rules b/debian/rules
index 9be10b1..eb2677c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,17 @@ CFLAGS += -g
endif
# `nostrip' handled by dh_strip...
+AUTORECONF_BACKUP += INSTALL Makefile.in aclocal.m4
+AUTORECONF_BACKUP += config.guess config.sub configure
+AUTORECONF_BACKUP += depcomp install-sh ltmain.sh
+AUTORECONF_BACKUP += jniwrap/Makefile.in
+AUTORECONF_BACKUP += jniwrap/org/Makefile.in
+AUTORECONF_BACKUP += jniwrap/org/proj4/Makefile.in
+AUTORECONF_BACKUP += man/Makefile.in man/man1/Makefile.in man/man3/Makefile.in
+AUTORECONF_BACKUP += missing mkinstalldirs
+AUTORECONF_BACKUP += nad/Makefile.in src/Makefile.in
+AUTORECONF_BACKUP += src/proj_config.h.in
+
datumgrids: datumgrids-stamp
datumgrids-stamp:
unshar -c -d $(CURDIR)/nad $(CURDIR)/debian/datumgrids.shar
@@ -22,6 +33,10 @@ datumgrids-stamp:
config: datumgrids config.status
config.status:
+ for FILE in $(AUTORECONF_BACKUP); do \
+ mv $${FILE} $${FILE}.pre-autoreconf ; \
+ done
+ dh_autoreconf
./configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man
build: config build-stamp
@@ -37,6 +52,12 @@ clean:
rm -f datumgrids-stamp
[ ! -f Makefile ] || $(MAKE) distclean
rm -f $(CURDIR)/debian/*.log
+ dh_autoreconf_clean
+ for FILE in $(AUTORECONF_BACKUP); do \
+ if [ -e "$${FILE}.pre-autoreconf" ]; then \
+ mv $${FILE}.pre-autoreconf $${FILE} ; \
+ fi ; \
+ done
dh_clean
install: build install-stamp
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/proj.git
More information about the Pkg-grass-devel
mailing list