[med-svn] [epigrass] 02/03: do not parse d/changelog
Andreas Tille
tille at debian.org
Fri Oct 13 18:15:52 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository epigrass.
commit 945fecf9aa74ca0ec61e72bdb8ca64c7333ac131
Author: Andreas Tille <tille at debian.org>
Date: Fri Oct 13 20:14:12 2017 +0200
do not parse d/changelog
---
debian/changelog | 1 +
debian/rules | 7 ++++---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index ee56673..1870969 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ epigrass (2.4.7-2) UNRELEASED; urgency=medium
* Moved packaging from SVN to Git
* Standards-Version: 4.1.1
+ * d/rules: do not parse d/changelog
-- Andreas Tille <tille at debian.org> Fri, 13 Oct 2017 20:07:12 +0200
diff --git a/debian/rules b/debian/rules
index 648456d..e908b19 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,8 @@
#!/usr/bin/make -f
-DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
-export PYBUILD_DESTDIR=debian/$(DEBPKGNAME)
+include /usr/share/dpkg/default.mk
+
+export PYBUILD_DESTDIR=debian/$(DEB_SOURCE)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
@@ -14,7 +15,7 @@ override_dh_auto_install:
override_dh_installdocs:
# no idea why doc is installed in main package as well - just remove this copy
dh_installdocs
- rm debian/$(DEBPKGNAME)/usr/share/doc/$(DEBPKGNAME)/Epigrass.pdf*
+ rm debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/Epigrass.pdf*
get-orig-source:
mkdir -p ../tarballs
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/epigrass.git
More information about the debian-med-commit
mailing list