From 82ea8034de84f171182afc07351425841d4b5cf3 Mon Sep 17 00:00:00 2001 From: "Aaron M. Ucko" Date: Sun, 29 May 2011 14:53:58 +0000 Subject: [PATCH] Override dh_auto_build to focus on selected subtrees and their dependencies (as made possible by running configure --with-flat-makefile). --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) 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: -- 2.30.2