Ethereal-dev: Re: [Ethereal-dev] Cleaning out local plugin collection

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Lars Roland <lars.roland@xxxxxxx>
Date: Tue, 31 May 2005 13:20:15 +0200
Jaap Keuter schrieb:
On Sat, 28 May 2005, Lars Roland wrote:


Lars Roland schrieb:

[SNIP]

correcting myself now. as a comment in the main makefile sais:
# "distclean" removes all files not part of the distribution.
# It does not remove generated files that are part of the distribution.

# Make "maintainer-clean" only if you would like to remove ALL generated
# files.
# Be sure to have python and perl installed to regenerate them.

Applying this definition, "clean_deps" shouldn't be called by these clean
targets, as it doesn't remove any generated files. It s more like "clean_setup"
which removes files ethereal depends on. While "clean_setup" removes files
needed to compile Ethereal, "clean_deps" removes files needed to run Ethereal.


Well, the thing is that a 'nmake -f Makefile.nmake all' does a partial
install to generate documentation (see doc/Makefile.nmake target
ethereal-filter.pod). This leaves the plugins/$(VERSION) directory and two
DLLs (wiretap and libethereal) behind. Apart from that 'nmake -f
Makefile.nmake clean' is fairly well balanced against target 'all'.


You are right. we should add those generated files to clean target. But clean_deps should stay a seperate target as the opposite to install_deps.

I will do that later on today.

Best regards,

Lars Roland