[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: why dpkg-buildpackage doesn't care my build targets in debian/rule



+++ Mattia Rizzolo [2015-05-22 17:04 +0200]:
> On Fri, May 22, 2015 at 6:31 AM, lumin <cdluminate@gmail.com> wrote:
> >         override_dh_auto_build:
> >                 # well. let's copy config back again.
> >                 cp ./debian/my/Makefile.config.cpuonly ./Makefile.config
> >                 debian/my/00-fix-caffe-include-path-debian.sh
> >                 $(MAKE) all
> >                 $(MAKE) test
> >                 $(MAKE) runtest
> 
> also, that test things should go in a override_dh_auto_test target,
> not in the build one.

Right, so that DEB_BUILD_OPTIONS=nocheck works, which is often
important for cross-building.

Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/


Reply to: