Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: make distclean



Sven Wischnowsky wrote:
> Am I the only one, or can't you get it to work either? When I try
> `make distclean' make complains about `@make' being unknown -- there
> seems to be a misplaced `@'. And when I try `./configure; make distclean' 
> it doesn't work because in the Src directory this need the file
> modules.index but it doesn't have a dependency for it.

I'd just discovered this, too, but there is a further problem with `make
clean' (didn't try make distclean), in that there's a dependency in Makemod
to remake it every times it's used (or at least that's what GNU make does
when it sees the effect of

Makemod: Makemod.in

inside Makemod).  Hence make clean always tries to make Makemod even when
it's only used via `make -f Makemod' and doesn't appear as a dependency in
Makefile.  I thought maybe the solution was to remove Makemod and
Makemod.in after `make clean', since they get made by make rather than
configure.  But maybe there's a better way.

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy



Messages sorted by: Reverse Date, Date, Thread, Author