[med-svn] [adapterremoval] 06/07: use DEB_SOURCE

Andreas Tille tille at debian.org
Mon Jul 17 11:14:36 UTC 2017


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

tille pushed a commit to branch master
in repository adapterremoval.

commit 8f25ab6ef60f9c6e8a9edcca0110e1780a0b6e0a
Author: Andreas Tille <tille at debian.org>
Date:   Mon Jul 17 13:01:53 2017 +0200

    use DEB_SOURCE
---
 debian/changelog | 1 +
 debian/rules     | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f47ca0a..23cda6e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ adapterremoval (2.2.1a-1) UNRELEASED; urgency=medium
   * New upstream version (adapt patches)
   * Enable letters in watch file expression
   * Standards-Version: 4.0.0 (no changes needed)
+  * d/rules: use DEB_SOURCE
 
  -- Andreas Tille <tille at debian.org>  Mon, 17 Jul 2017 12:56:16 +0200
 
diff --git a/debian/rules b/debian/rules
index f8ad09f..8941366 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+include /usr/share/dpkg/default.mk
 
 %:
 	dh $@
@@ -18,7 +18,7 @@ override_dh_auto_test:
 	echo "*********** Needs adapting to libgtest-dev. ***************"
 
 override_dh_auto_install:
-	make PREFIX=$(CURDIR)/debian/$(DEBPKGNAME)/usr
+	make PREFIX=$(CURDIR)/debian/$(DEB_SOURCE)/usr
 	# Hmmm, this does nothing ...
 
 override_dh_installchangelogs:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/adapterremoval.git



More information about the debian-med-commit mailing list