[GRASS5] 'make maintainer-clean' missing some files

Glynn Clements glynn.clements at virgin.net
Wed Jun 30 03:47:58 EDT 2004


Hamish wrote:

> after 'make maintainer-clean', these files remain:
> 
> src.contrib/DUKE/r.terraflow/IOStream/lib/src/ami_stream.d
> src.contrib/DUKE/r.terraflow/IOStream/lib/src/mm.d
> src.contrib/DUKE/r.terraflow/IOStream/lib/src/mm_utils.d
> src.contrib/DUKE/r.terraflow/IOStream/lib/src/rtimer.d
> 
>  & then break the new build.
> 
> what's the correct way to get rid of them with make?

The "correct" way is not to generate them in the first place.

Apart from that, the only way to get rid of them is to add another
line to the clean target in the top level Makefile.in (and the one in
the mk subdirectory).

> should 'make distclean' or 'make clean' delete them too?

Yes.

"clean" should delete almost everything; "distclean" also deletes
files which are generated by configure (which includes the Makefile,
so you can't make anything after distclean), and "maintainer-clean"
also deletes files which are generated by lex/yacc (distclean leaves
them behind, resulting in a source tree which can be built without
requiring lex/yacc).

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list