[gdal-grass] 10/11: Restore configure backup after dh_autoreconf_clean

Bas Couwenberg sebastic at xs4all.nl
Sun Mar 16 08:31:54 UTC 2014


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

sebastic-guest pushed a commit to branch master
in repository gdal-grass.

commit 729855c04608def3a1ac99bb4d8cbcd97f6570ad
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Mar 9 17:05:10 2014 +0100

    Restore configure backup after dh_autoreconf_clean
---
 debian/rules | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/debian/rules b/debian/rules
index 889bf65..10fbcec 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,16 @@ endif
 %:
 	dh $@ --with autoreconf --parallel
 
+override_dh_autoreconf:
+	mv configure configure.pre-autoreconf
+	dh_autoreconf
+
+override_dh_autoreconf_clean:
+	dh_autoreconf_clean
+	if [ -e "configure.pre-autoreconf" ]; then \
+		mv configure.pre-autoreconf configure ; \
+	fi
+
 override_dh_auto_configure:
 	sed -e 's/@GRASS_ABI@/$(GRASS_ABI)/' debian/control.in > debian/control
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/gdal-grass.git



More information about the Pkg-grass-devel mailing list