[med-svn] [kmer-tools] 02/04: Resolve lintian norelro error and do final clean-up in d/rules
Afif Elghraoui
afif-guest at moszumanska.debian.org
Mon May 25 00:58:05 UTC 2015
This is an automated email from the git hooks/post-receive script.
afif-guest pushed a commit to branch master
in repository kmer-tools.
commit 4764f6dc86b1cae2a65fbd287dc0c2b1edcc5471
Author: Afif Elghraoui <afif at ghraoui.name>
Date: Sun May 24 16:05:10 2015 -0700
Resolve lintian norelro error and do final clean-up in d/rules
---
debian/rules | 23 +++++++----------------
1 file changed, 7 insertions(+), 16 deletions(-)
diff --git a/debian/rules b/debian/rules
index ffe4281..c4e51a4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,32 +1,23 @@
#!/usr/bin/make -f
-# See debhelper(7) (uncomment to enable)
-# output every command that modifies files on the build system.
-#DH_VERBOSE = 1
-# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
-# see FEATURE AREAS in dpkg-buildflags(1)
-#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-
-# see ENVIRONMENT in dpkg-buildflags(1)
-# package maintainers to append CFLAGS
-#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
-# package maintainers to append LDFLAGS
-#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-
# The trailing slashes are very important to the build system
subdirectories:= $(filter-out debian/, $(shell ls -d */))
meryl:= libbio/ libkmer/ libmeryl/ libseq/ libutil/ meryl/
-
-# main packaging script based on dh7 syntax
%:
dh $@
override_dh_auto_build:
- $(MAKE) WITHOUT="$(filter-out $(meryl), $(subdirectories))" install
+ # The Makefile apparently doesn't use regular LDFLAGS.
+ # It defines CLDFLAGS and CXXLDFLAGS as empty strings, so let's
+ # use them here.
+ $(MAKE) \
+ CLDFLAGS="$(LDFLAGS)" \
+ CXXLDFLAGS="$(LDFLAGS)" \
+ WITHOUT="$(filter-out $(meryl), $(subdirectories))" install
ln -sf $(shell uname)-* installdir
override_dh_auto_clean:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/kmer-tools.git
More information about the debian-med-commit
mailing list