[med-svn] r6879 - trunk/packages/ncbi-blast-plus/trunk/debian
Aaron M. Ucko
ucko at alioth.debian.org
Sun May 29 14:53:58 UTC 2011
Author: ucko
Date: 2011-05-29 14:53:58 +0000 (Sun, 29 May 2011)
New Revision: 6879
Modified:
trunk/packages/ncbi-blast-plus/trunk/debian/rules
Log:
Override dh_auto_build to focus on selected subtrees and their dependencies
(as made possible by running configure --with-flat-makefile).
Modified: trunk/packages/ncbi-blast-plus/trunk/debian/rules
===================================================================
--- trunk/packages/ncbi-blast-plus/trunk/debian/rules 2011-05-29 14:53:03 UTC (rev 6878)
+++ trunk/packages/ncbi-blast-plus/trunk/debian/rules 2011-05-29 14:53:58 UTC (rev 6879)
@@ -13,6 +13,7 @@
DEB_CONFIGURE_EXTRA_FLAGS=--with-dll --with-mt --without-autodep \
--without-makefile-auto-update --with-flat-makefile --without-dbapi \
--without-lzo --with-runpath=/usr/lib/ncbi-blast+ --with-build-root=BUILD
+proj=algo/blast/ app/ objmgr/ objtools/align_format/ objtools/blast/
# XXX - not quite right, as we get -DNDEBUG vs. -D_DEBUG
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
@@ -26,6 +27,9 @@
cd c++ && LD_LIBRARY_PATH=$(CURDIR)/c++/BUILD/lib \
./configure $(DEB_CONFIGURE_EXTRA_FLAGS)
+override_dh_auto_build:
+ cd c++/BUILD/build && make -f Makefile.flat \
+ all_projects="$(proj)"
instroot = debian/ncbi-blast+/usr
override_dh_auto_install:
More information about the debian-med-commit
mailing list