[merkaartor] 02/05: Don't create revision.h, no longer used.

Bas Couwenberg sebastic at debian.org
Sun Jun 25 13:49:00 UTC 2017


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

sebastic pushed a commit to branch master
in repository merkaartor.

commit b82c462c4b40fbc08b792bd606b80ae3c77d5551
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Jun 25 12:24:37 2017 +0200

    Don't create revision.h, no longer used.
---
 debian/changelog | 1 +
 debian/rules     | 5 +----
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 89a3d01..897d481 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 merkaartor (0.18.3+ds-2) UNRELEASED; urgency=medium
 
   * Add patch to fix 'performance' typo.
+  * Don't create revision.h, no longer used.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 14 Oct 2016 22:35:54 +0200
 
diff --git a/debian/rules b/debian/rules
index 0e0e0dd..430beab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,8 +6,6 @@
 # Enable hardening build flags
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
-SVNREV = $(shell dpkg-parsechangelog | grep '^Version' | sed 's,Version:,Debian,')
-
 # Use Qt5
 export QT_SELECT=5
 
@@ -19,11 +17,10 @@ override_dh_auto_clean:
 	cd translations && make clean
 
 override_dh_clean:
-	dh_clean src/revision.h
+	dh_clean
 	rm -rf binaries
 
 override_dh_auto_configure:
-	echo '#define SVNREV $(SVNREV)' > src/revision.h
 	cd translations && make release
 	qmake Merkaartor.pro \
 		TRANSDIR_SYSTEM="/usr/share/qt5/translations/" \

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



More information about the Pkg-grass-devel mailing list