Wireshark-bugs: [Wireshark-bugs] [Bug 1595] When building in the source tree, "make distclean" d

Date: Wed, 9 May 2007 17:50:06 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1595





------- Comment #3 from guy@xxxxxxxxxxxx  2007-05-09 17:50 GMT -------
If you're building from a source tarball, "make distclean" should, as per the
GNU Makefile standard:

    http://www.gnu.org/prep/standards/html_node/Makefile-Conventions.html

   
http://www.gnu.org/prep/standards/html_node/Standard-Targets.html#Standard-Targets

"Delete all files in the current directory (or created by this makefile) that
are created by configuring or building the program."

If epan/dtd_parse.c is part of the source tarball, it shouldn't be deleted; we
might include it because it requires an additional tool (Flex) to be present.

"make maintainer-clean" should get rid of it, however.

"make distclean", if you build from SVN, might well get rid of stuff that's in
the tarball; I don't think that'd be an error (if you're building from SVN, you
should have all the relevant tools, including Flex).

I think the distinction is that a source distribution tarball can be thought of
as a way to install the software for platforms for which there's no binary
package, so it should require a minimum of tools, rather than as something from
which you should do development.


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.