[med-svn] [hmmer2] 03/06: Cleanup d/rules

Andreas Tille tille at debian.org
Thu Apr 13 07:15:05 UTC 2017


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

tille pushed a commit to branch master
in repository hmmer2.

commit 99f237f3293102e66f7ec5209667cfcdbf6c5b42
Author: Andreas Tille <tille at debian.org>
Date:   Thu Apr 13 08:44:39 2017 +0200

    Cleanup d/rules
---
 debian/rules | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/debian/rules b/debian/rules
index 4f092a7..a97ee51 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,24 +1,17 @@
 #!/usr/bin/make -f
 # DH_VERBOSE=1
 
-export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
-export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
-export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
-export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
-
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 pkgdata:=hmmer2
 sampledir:=$(CURDIR)/debian/$(pkgdata)/usr/share/doc/$(pkgdata)/examples
 
 
-.PHONY: override_dh_auto_configure
 override_dh_auto_configure:
 	dh_auto_configure -- --enable-threads --enable-lfs --enable-pvm
 	# avoid duplicated definition of PACKAGE_NAME (basically conflicting with biosquid when used together)
 	sed -i -e '/^#define PACKAGE_NAME /i #ifndef PACKAGE_NAME' -e '/^#define PACKAGE_NAME /a #endif' src/config.h
 
-.PHONY: override_dh_auto_install
 override_dh_auto_install:
 	dh_auto_install -- prefix=$(CURDIR)/debian/tmp
 	# lkajan: rename binaries and man pages like this: s/hmm/hmm2/ - except hmmer.1, rename that to hmmer2.1:
@@ -29,7 +22,6 @@ override_dh_auto_install:
 	# lkajan: resolve man page hypen issue:
 	sed -i -e 's/--/\\-\\-/g;s/-\([[:alpha:]]\)\b/\\-\1/g;' $(CURDIR)/debian/tmp/share/man/man1/*
 
-.PHONY: override_dh_installchangelogs
 override_dh_installchangelogs:
 	dh_installchangelogs -k 00README
 

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



More information about the debian-med-commit mailing list