From: Aaron M. Ucko Date: Sun, 29 May 2011 14:53:58 +0000 (+0000) Subject: Override dh_auto_build to focus on selected subtrees and their dependencies X-Git-Tag: archive/raspbian/2.16.0+ds-7+rpi1~1^2~352 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=82ea8034de84f171182afc07351425841d4b5cf3;p=ncbi-blast%2B.git Override dh_auto_build to focus on selected subtrees and their dependencies (as made possible by running configure --with-flat-makefile). --- diff --git a/debian/rules b/debian/rules index 0db1c1cf..a42525df 100755 --- a/debian/rules +++ b/debian/rules @@ -13,6 +13,7 @@ SOURCEDIR=${CURDIR}/c++ 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 @@ override_dh_auto_configure: 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: