[med-svn] [anfo] 03/04: do not parse d/changelog
Andreas Tille
tille at debian.org
Mon Oct 9 12:23:29 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository anfo.
commit 23fa4dd02b2792546278e92639ff48c937ee31f3
Author: Andreas Tille <tille at debian.org>
Date: Mon Oct 9 14:18:57 2017 +0200
do not parse d/changelog
---
debian/changelog | 1 +
debian/rules | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index c09f2f4..a254d14 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ anfo (0.98-6) UNRELEASED; urgency=medium
* Moved packaging from SVN to Git
* debhelper 10
* Standards-Version: 4.1.1
+ * d/rules: do not parse d/changelog
-- Andreas Tille <tille at debian.org> Mon, 09 Oct 2017 14:11:48 +0200
diff --git a/debian/rules b/debian/rules
index 479e236..fc09230 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1
-DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+include /usr/share/dpkg/default.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
@@ -18,7 +18,7 @@ override_dh_install:
--movedev debian/tmp/usr/include/* usr/include \
debian/tmp/usr/lib/*/libanfo.so
dh_install
- mv debian/$(DEBPKGNAME)/usr/lib/* debian/$(DEBPKGNAME)/usr/lib/$(DEBPKGNAME)
+ mv debian/$(DEB_SOURCE)/usr/lib/* debian/$(DEB_SOURCE)/usr/lib/$(DEB_SOURCE)
override_dh_installman:
dh_installman
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/anfo.git
More information about the debian-med-commit
mailing list