[med-svn] [raxml] 05/06: use DEB_SOURCE
Andreas Tille
tille at debian.org
Sat Jun 24 04:56:35 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository raxml.
commit 1f0f173c5560a9f29993a8a4fd98d0af39e2ee41
Author: Andreas Tille <tille at debian.org>
Date: Sat Jun 24 06:22:56 2017 +0200
use DEB_SOURCE
---
debian/changelog | 1 +
debian/rules | 11 ++++-------
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index fdc4899..1589d63 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ raxml (8.2.10+dfsg-1) UNRELEASED; urgency=medium
* debhelper 10
* do not disable PIE
Closes: #865658
+ * d/rules: use DEB_SOURCE
-- Andreas Tille <tille at debian.org> Sat, 24 Jun 2017 06:18:11 +0200
diff --git a/debian/rules b/debian/rules
index 56ce04f..c159468 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+include /usr/share/dpkg/default.mk
exe=raxmlHPC
##MFILES:=Makefile.gcc \ # we use a wrapper to the faster versions instead of shipping the "plain" version
@@ -15,9 +15,6 @@ MFILES:=Makefile.PTHREADS.gcc \
BINDIR=$(CURDIR)/debian/tmpbuild
-# Package does not build when this option is set
-# export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-
%:
dh $@
@@ -41,11 +38,11 @@ override_dh_auto_build:
override_dh_installman:
help2man --no-info --help-option="-h" --version-option="-v" \
--name="Randomized Axelerated Maximum Likelihood" \
- $(CURDIR)/debian/$(DEBPKGNAME)/usr/bin/$(exe) > $(CURDIR)/debian/$(DEBPKGNAME)/usr/share/man/man1/$(exe).1
+ $(CURDIR)/debian/$(DEB_SOURCE)/usr/bin/$(exe) > $(CURDIR)/debian/$(DEB_SOURCE)/usr/share/man/man1/$(exe).1
for cexe in `ls $(BINDIR)/$(exe)*` ; do \
curexe=`basename $${cexe}` ; \
if [ $${curexe} != $(exe) ] ; then \
- ln -s $(exe).1.gz $(CURDIR)/debian/$(DEBPKGNAME)/usr/share/man/man1/$${curexe}.1.gz ; \
+ ln -s $(exe).1.gz $(CURDIR)/debian/$(DEB_SOURCE)/usr/share/man/man1/$${curexe}.1.gz ; \
fi ; \
done
@@ -53,5 +50,5 @@ override_dh_installexamples:
dh_installexamples
# fix perl path in example scripts
for pscript in `ls usefulScripts/*.pl` ; do \
- sed 's?/usr/local/bin/perl?/usr/bin/perl?' $${pscript} > $(CURDIR)/debian/$(DEBPKGNAME)/usr/share/doc/$(DEBPKGNAME)/examples/`basename $${pscript}` ; \
+ sed 's?/usr/local/bin/perl?/usr/bin/perl?' $${pscript} > $(CURDIR)/debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/examples/`basename $${pscript}` ; \
done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/raxml.git
More information about the debian-med-commit
mailing list