|
From: | Michael Godfrey |
Subject: | Re: docs not building |
Date: | Wed, 8 Jul 2015 10:58:28 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 |
On 07/08/2015 02:57 AM, John W. Eaton
wrote:
This did fix the doc/refcard problem, but the same construct fails for make check. I get: make check-local make[3]: Entering directory '/home/godfrey/d/src/octave/hg/octave' ./doc/interpreter/config-images.sh . ./doc/interpreter/images.mk is unchanged cd test && ../run-octave --norc --silent --no-history ./test/fntests.m ./test error: no such file, '/home/godfrey/d/src/octave/hg/octave/test/test/fntests.m' error: source: error sourcing file '/home/godfrey/d/src/octave/hg/octave/test/test/fntests.m' Makefile:4649: recipe for target 'check-local' failed make[3]: *** [check-local] Error 1 make[3]: Leaving directory '/home/godfrey/d/src/octave/hg/octave' Makefile:3420: recipe for target 'check-am' failed make[2]: *** [check-am] Error 2 make[2]: Leaving directory '/home/godfrey/d/src/octave/hg/octave' Makefile:3129: recipe for target 'check-recursive' failed make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory '/home/godfrey/d/src/octave/hg/octave' Makefile:3422: recipe for target 'check' failed make: *** [check] Error 2 =============================== As I mentioned before, removing the cd test && . fixes this. It does appear that there is a difference in how make is handling cd commands. This has always (for me) been a bit obscure. I have to reread the make doc whenever I use cd in a makefile. Are you using a make different from GNU Make 4.0? By the way, your changes have made one improvement (at least): before make clean make did not rebuild the doc/ files. Now it does. Michael |
[Prev in Thread] | Current Thread | [Next in Thread] |