"make -C src clean" is dirty

Rob Mahurin rob at utk.edu
Mon Jun 22 14:30:49 CDT 2009


Hi,

In a clean mercurial checkout, following ./autogen.sh and ./ 
configure, "make maintainer-clean" causes some files to be created.   
The problem seems to be

Mon 15:00 $ make -C src clean
make -C ../liboctave ../liboctave/DASPK-opts.h
making DASPK-opts.h from DASPK-opts.in
making DASRT-opts.h from DASRT-opts.in
making DASSL-opts.h from DASSL-opts.in
making LSODE-opts.h from LSODE-opts.in
making Quad-opts.h from Quad-opts.in
^Cmake: *** Deleting file `../liboctave/DASPK-opts.h'
make[1]: *** [Quad-opts.h] Interrupt
make: *** [../liboctave/DASPK-opts.h] Interrupt

I think that "make clean" should only remove files?  This maybe comes  
from the targets in src/Makefile depending on FORCE.  I'm not sure I  
understand what's happening enough to suggest a change.

I noticed this since I had some wrong liboctave/*.d files which made  
my build fail and which weren't correctly regenerated after another  
configure.

Cheers,
Rob

-- 
Rob Mahurin
University of Manitoba, Dept. of Physics & Astronomy
at:	Oak Ridge National Laboratory	865 207 2594
	Oak Ridge, Tennessee		rob at utk.edu






More information about the Octave-maintainers mailing list