[med-svn] [subread] 01/01: Cleanup d/rules
Alex Mestiashvili
malex-guest at moszumanska.debian.org
Sat Apr 23 11:52:45 UTC 2016
This is an automated email from the git hooks/post-receive script.
malex-guest pushed a commit to branch master
in repository subread.
commit 54e3fa320d0579438dffc44ff337a05f5796adab
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date: Sat Apr 23 13:28:06 2016 +0200
Cleanup d/rules
Remove not needed variables from d/rules and update arch_specific_flags.patch
Remove PDF related variables as we do not build the docs.
Remove not needed override for dh_compress
---
debian/patches/arch_specific_flags.patch | 2 +-
debian/rules | 17 ++---------------
2 files changed, 3 insertions(+), 16 deletions(-)
diff --git a/debian/patches/arch_specific_flags.patch b/debian/patches/arch_specific_flags.patch
index f4b7ae3..f64a140 100644
--- a/debian/patches/arch_specific_flags.patch
+++ b/debian/patches/arch_specific_flags.patch
@@ -16,7 +16,7 @@ Author: Alex Mestiashvili <alex at biotec.tu-dresden.de>
-LDFLAGS = ${STATIC_MAKE} -lpthread -lz -lm ${MACOS} -O${OPT_LEVEL} -DMAKE_FOR_EXON -D MAKE_STANDALONE # -DREPORT_ALL_THE_BEST
-CC = gcc ${CCFLAGS} -ggdb -fomit-frame-pointer -ffast-math -funroll-loops -mmmx -msse -msse2 -msse3 -fmessage-length=0
+OPT_LEVEL = 3
-+CCFLAGS += ${EXTRA_CC_FLAGS} -O${OPT_LEVEL} -Wall -DMAKE_FOR_EXON -D MAKE_STANDALONE -D SUBREAD_VERSION=\"${SUBREAD_VERSION}\" -D_FILE_OFFSET_BITS=64
++CCFLAGS += -O${OPT_LEVEL} -Wall -DMAKE_FOR_EXON -D MAKE_STANDALONE -D SUBREAD_VERSION=\"${SUBREAD_VERSION}\" -D_FILE_OFFSET_BITS=64
+LDFLAGS += ${STATIC_MAKE} -lpthread -lz -lm -O${OPT_LEVEL} -DMAKE_FOR_EXON -D MAKE_STANDALONE # -DREPORT_ALL_THE_BEST
+CC = gcc ${CCFLAGS} -ggdb -fomit-frame-pointer -ffast-math -funroll-loops -fmessage-length=0
diff --git a/debian/rules b/debian/rules
index 2b47518..f5ace44 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,24 +1,16 @@
#!/usr/bin/make -f
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/default.mk
-
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export EXTRA_LD_FLAGS := $(shell dpkg-buildflags --get LDFLAGS)
pkg := $(shell dpkg-parsechangelog --show-field=Source)
mandir := $(CURDIR)/debian/$(pkg)/usr/share/man/man1
bindir := $(CURDIR)/bin
utildir := $(CURDIR)/bin/utilities
-TEXDOC := SubreadUsersGuide.tex
-BIBDOC := SubreadUsersGuide.aux
-DOCDIR := doc
DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
-EXTRA_CC_FLAGS =
ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),amd64 i386))
- EXTRA_CC_FLAGS = -mtune=generic -msse3
+ CFLAGS += -mtune=generic -msse3
endif
-export EXTRA_CC_FLAGS += -fsigned-char
+CFLAGS += -fsigned-char
%:
dh $@ --parallel
@@ -78,10 +70,5 @@ DNA-seq reads and RNA-seq reads (for the purpose of expression analysis)' \
override_dh_installexamples-indep:
tar -cJf $(CURDIR)/debian/subread-data/usr/share/doc/subread/examples/test.tar.xz test/
-override_dh_compress:
-# do not compress pdfs
- dh_compress -X.pdf -Xtest.tar.xz
-
-
get-orig-source:
uscan --verbose --force-download --repack --compression xz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/subread.git
More information about the debian-med-commit
mailing list