automake 1.10.1 generates a Makefile with:
mostlyclean-compile:
-rm -f *.$(OBJEXT)
This results in:
$ /usr/bin/make clean && echo OK
[...]
rm -f *.o
rm: invalid option -- .
Try `rm ./-.o' to remove the file `-.o'.
Try `rm --help' for more information.
make[1]: [mostlyclean-compile] Error 1 (ignored)
test "" = "" || rm -f *_.c
rm -f *.lo
make[1]: Leaving directory `/home/vlefevre/software/mpfr'
OK
(and make doesn't even exit with a non-zero exit status).
The rule should have been:
mostlyclean-compile:
-rm -f -- *.$(OBJEXT)
or:
mostlyclean-compile:
-rm -f ./*.$(OBJEXT)
Other similar rules are in the same case.
--
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)