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

2015-05-23 Thread lumin
I got it. Thank you, Santiago, Jakub, Johannes, Mattia and Wookey ! :) -- Regards, C.D.Luminate -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1432439429.714

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

2015-05-22 Thread Jakub Wilk
* Wookey , 2015-05-22, 19:08: 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

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

2015-05-22 Thread Wookey
+++ Mattia Rizzolo [2015-05-22 17:04 +0200]: > On Fri, May 22, 2015 at 6:31 AM, lumin wrote: > > override_dh_auto_build: > > # well. let's copy config back again. > > cp ./debian/my/Makefile.config.cpuonly ./Makefile.config > > debian/my/00-f

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

2015-05-22 Thread Mattia Rizzolo
On Fri, May 22, 2015 at 6:31 AM, lumin 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 > $(MAK

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

2015-05-21 Thread Johannes Schauer
Hi, Quoting lumin (2015-05-22 06:31:34) > override_dh_auto_clean: > cp ./debian/my/Makefile.config.cpuonly ./Makefile.config > dh_auto_clean > # without following line the the source tree > # would be not clean. Hence dpkg-bu

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

2015-05-21 Thread lumin
Hi mentors, I solved this problem, after line-by-line reviewing the screen output of those commands. It turns out that, the "clean" target of Makefile needs the Makefile.config too. this rules file makes dpkg-buildpackage continue building. (I deleted some comments )

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

2015-05-21 Thread lumin
Hi, I modified the debian/rules[1] according to Santiago and Jakub (thank you both!), and tested again. The result was the same. "dh build" works while "dpkg-buildpackage" doesn't. [1] --- the whole debian/rules 1 #!/usr/bin/make -f 2 # See debhelper(7) (

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

2015-05-21 Thread Jakub Wilk
* lumin , 2015-05-21, 14:30: I'd like to take over the whole build process, so I wrote: 32 override_dh_auto_build: build_cpuonly 33 34 build_cpuonly: config_cpuonly 35 $(shell debian/my/00-fix-caffe-include-path-debian.sh) As Santiago noticed, you should alm

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

2015-05-21 Thread Santiago Vila
On Thu, May 21, 2015 at 02:30:58PM +, lumin wrote: > I'm trying to package caffe as said [1] at debian-science@ . > However I encountered a problem when writing debian/rules. > > I'd like to take over the whole build process, so I wrote: > > 32 override_dh_auto_build: build_cpuonly >

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

2015-05-21 Thread lumin
Hi mentors, I'm trying to package caffe as said [1] at debian-science@ . However I encountered a problem when writing debian/rules. I'd like to take over the whole build process, so I wrote: 32 override_dh_auto_build: build_cpuonly 33 34 build_cpuonly: config_cpuonly