[osm-gps-map] 01/04: Reorder targets in rules file.

Bas Couwenberg sebastic at debian.org
Mon Nov 20 13:26:01 UTC 2017


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

sebastic pushed a commit to branch master
in repository osm-gps-map.

commit 55a5712f768902a30195046a4c17c356e338f9fe
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Nov 20 13:46:46 2017 +0100

    Reorder targets in rules file.
---
 debian/rules | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

diff --git a/debian/rules b/debian/rules
index 7f47f04..7f3d051 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,16 +12,22 @@ include /usr/share/dpkg/pkg-info.mk
 
 UPSTREAM_VERSION = $(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')
 
+%:
+	dh $@ --with autoreconf --parallel
+
+override_dh_autoreconf:
+	NOCONFIGURE=y ./autogen.sh
+	dh_autoreconf
+
 override_dh_auto_configure:
-	dh_auto_configure -- \
-		--enable-gtk-doc
+	dh_auto_configure -- --enable-gtk-doc
 
 override_dh_auto_install:
 	dh_auto_install
 	dh_girepository
 
 override_dh_install:
-	rm `find debian/tmp -name '*.la'`
+	find debian/tmp -name '*.la' -delete
 	d-shlibmove --commit \
 		    --multiarch \
 		    --override s/libgtk-3-0-dev/libgtk-3-dev/ \
@@ -33,18 +39,9 @@ override_dh_install:
 		    debian/tmp/usr/lib/*/lib*.so
 	dh_install --list-missing
 
-override_dh_auto_clean:
-	dh_auto_clean
-
-override_dh_autoreconf:
-	NOCONFIGURE=y ./autogen.sh
-	dh_autoreconf
-
 override_dh_makeshlibs:
 	dh_makeshlibs -- -v$(UPSTREAM_VERSION)
 
 override_dh_strip:
 	dh_strip --keep-debug --dbg-package=libosmgpsmap-1.0-dbg
 
-%:
-	dh $@ --with autoreconf --parallel

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



More information about the Pkg-grass-devel mailing list