Ethereal-dev: Re: [Ethereal-dev] Problems building Ethereal

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Mon, 14 Feb 2005 12:40:16 -0800
Guy Harris wrote:

There's no MAINTAINERCLEANFILES in gtk/Makefile.am, so "make maintainer-clean" won't remove gtk/ethereal-tap-register.c. I'll look at adding the various "*register.c" files to MAINTAINERCLEANFILES in various Makefile.am files.

OK, I've checked in a bunch of changes to clean up the "make clean", "make distclean", and "make maintainer-clean" file lists - moving the lists into Makefile.common when possible, and making "maintainer-clean" clean up more things and, in some places, moving stuff from the "make distclean" list to the "make clean" or "make maintainer-clean" list when it appeared appropriate (and adding comments to some places where it might naively seem appropriate but wouldn't be appropriate, e.g. getting rid of Flex-generated files in "nmake -f makefile.nmake distclean" when "make distclean" didn't get rid of them, so that the generated-on-and-for-UN*X Flex output is removed by "distclean" on Windows, forcing it to be re-generated with a Windows version of Flex so that it'll compile properly on Windows).

I have a couple of questions that came up while doing this:

1) Is "svnversion.h" supposed to be part of the source tarball? If so, it's currently removed by "make distclean" - should it only be removed by "make maintainer-clean"?

2) "make distclean" doesn't remove "ps.c" - this is intentional. Why is it not removed? We should probably put in a comment explaining why not.