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: Sat, 28 May 2005 15:28:21 +0200
Hello Jaap,

Jaap Keuter schrieb:
Hello list,

I found that if you build the target clean (on a Win32 lpatform), all
final compilation products are removed from the tree. Only the $(VERSION)
directory, containing all the plugins remains, which is not correct IMHO.
This is a result from clean not depending on clean_deps.
This same issue affects the clean target in the top Makefile, which
doesn't clean out the stuff from building the target install-deps.

My sugestion is to add clean_deps as a dependancy to clean in the top
Makefile.nmake


When I introduced install-deps and clean_deps target, I thought about adding clean_deps as a dependency to one of the clean targets but I wasn't sure about to which one. the "clean" target removes all standard compilation products, while "distclean" also removes pre-built products from released source tarballs.
I'm not so sure about the difference between "maintainer-clean" and "distclean".

"clean_deps" doesn't remove any build products, it just removes all files copied by "install-deps". As "install-deps" isn't part of the standard build process and as it isn't necessary to call "clear_deps" to get a clean build, I decided to keep it as an extra clean target. Perhaps "clean_deps" should be called by "maintainer-clean" or by "distclean", but IMO it shouldn't be called by the "clean" target. I would prefer to have it as part of "maintainer-clean".

Regards,
Lars