[med-svn] [t-coffee] 02/03: do not parse d/changelog

Andreas Tille tille at debian.org
Mon Aug 28 13:30:26 UTC 2017


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

tille pushed a commit to branch master
in repository t-coffee.

commit 449c9ac7f2eeacd42aca07bacbf94082bd9f0357
Author: Andreas Tille <tille at debian.org>
Date:   Mon Aug 28 15:27:11 2017 +0200

    do not parse d/changelog
---
 debian/changelog | 1 +
 debian/rules     | 6 ++----
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a9db952..9fec258 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ t-coffee (11.00.8cbe486-6) UNRELEASED; urgency=medium
   * Standards-Version: 4.1.0 (no changes needed)
   * Fix some string assignments which fail build with gcc-7
     Closes: #853677
+  * d/rules: do not parse d/changelog
 
  -- Andreas Tille <tille at debian.org>  Sun, 27 Aug 2017 15:36:36 +0200
 
diff --git a/debian/rules b/debian/rules
index 406dcbc..3eaf91f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,8 @@
 #!/usr/bin/make -f
 
-# DEB_SRCDIR		= t_coffee_source
-# Is messing with /usr/share/cdbs/1/rules/patchsys-quilt.mk
-DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
-sampledir:=$(CURDIR)/debian/$(DEBPKGNAME)/usr/share/doc/$(DEBPKGNAME)/examples
+include /usr/share/dpkg/default.mk
 
+sampledir:=$(CURDIR)/debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/examples
 
 FCC = gfortran $(shell dpkg-buildflags --get FFLAGS)
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all

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



More information about the debian-med-commit mailing list