[2143] in Kerberos-V5-bugs
Kerberos 5-B6 bug report (make distclean)
daemon@ATHENA.MIT.EDU (Craig Leres)
Mon Aug 12 18:41:06 1996
To: krb5-bugs@MIT.EDU
Cc: mlrosenberg@lbl.gov (Mark Rosenberg), craigl@mh1.lbl.gov (Craig Lant)
Date: Mon, 12 Aug 1996 15:40:54 PDT
From: Craig Leres <leres@ee.lbl.gov>
The make target "distclean" does not remove enough files. Repeat by:
- Fetch, unpack and build Kerberos.
- Make a symlink tree to the original Kerberos tree.
- Do a "make distclean"
- Run ./configure and notice that some config.cache files from the
original tree are used. Also, Makefiles in the original tree are
modified.
I noticed this when I made a symlink tree against a read/only nfs copy
of Kerberos; this failed because configure was trying to write to the
symlinked Makefiles. After manually removing them, the symlink copy
still wouldn't build because it was using an old config.cache.
Fix: Add "Makefile config.cache config.log config.status" to the
distclean targets in all the Makefiles. (Also make sure all Makefiles
have a distclean target!)
Craig