[2626] in Kerberos-V5-bugs
pending/337: "make clean" removes config.log
daemon@ATHENA.MIT.EDU (Greg Hudson)
Sun Jan 12 12:06:26 1997
Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: gnats-admin@rt-11.MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, Greg Hudson <ghudson@MIT.EDU>
Date: Sun, 12 Jan 1997 12:05:12 -0500
From: Greg Hudson <ghudson@MIT.EDU>
To: krb5-bugs@MIT.EDU
>Number: 337
>Category: pending
>Synopsis: "make clean" removes config.log
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: gnats-admin
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Sun Jan 12 12:06:00 EST 1997
>Last-Modified:
>Originator:
>Organization:
>Release:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
This bug applies to krb5beta7; I haven't checked whether it's still
present in the 1.0 release.
At least in src/appl/bsd, and probably everywhere, the "make clean"
target removes config.log, pre.out, post.out, and Makefile.out, which
are not files generated by building the program. The Gnu Coding
Standards forbid this behavior:
`clean'
Delete all files from the current directory that are normally
created by building the program. Don't delete the files that
record the configuration. Also preserve files that could be made
by building, but normally aren't because the distribution comes
with them.
Delete `.dvi' files here if they are not part of the distribution.
`distclean'
Delete all files from the current directory that are created by
configuring or building the program. If you have unpacked the
source and built the program without creating any other files,
`make distclean' should leave only the files that were in the
distribution.
In practice, removing config.log is really irritating because it makes
it difficult to track down a problem I'm currently experiencing: once
in a blue moon, the Kerberos 5 configure script on Solaris decides
that "initgroups" isn't defined and the build (which follows a "make
clean") blows out. By that time config.log has been blown away, and I
have no way of figuring out what went wrong.