windows: make distclean doesn't clean up
Closed / Fixed59a9b957c6e7738d1739c1a1f76110a33d730cbcCreated 9 years agoUpdated 42 days ago
Descriptionplain2017-06-21 14:09:09
make distclean on windows left old configuration files/data intact. I ended up with a mix of $HOME/local-64 and $HOME/localtest prefixes. Now granted I should have re-run configure, but a make distclean should force configure to be re-run.
Referenced by4
161779a5c4Fix [59a9b957c6] and [2ef3430fdc]: Windows "make distclean" removes tcl.pc; win/configure uses an installed tclsh only when cross-compiling, not for any *mingw32* host. check-in2026-10-20 15:33:16063874bae3Fix [59a9b957c6] and [2ef3430fdc]: Windows "make distclean" removes tcl.pc; win/configure uses an installed tclsh only when cross-compiling, not for any *mingw32* host. check-in2026-10-20 15:33:15c87b92e2eeFix [59a9b957c6] and [2ef3430fdc]: Windows "make distclean" doesn't clean up tcl.pc; don't assume that host=*mingw32* means cross-compiling check-in2026-10-20 15:21:422025c9111fFix [59a9b957c6]: Windows "make distclean" now removes the generated tcl.pc. check-in2026-10-20 13:14:17
serhiy.storchakawiki2026-10-20 13:14:49
tcl.pc is generated by win/configure (AC_CONFIG_FILES) but was missing from the distclean rule in win/Makefile.in, so it survived and kept the old prefix. The other generated files were already removed; unix/Makefile.in removes tcl.pc too.
Proposed fix in branch [win-distclean-tcl-pc]. Checked with a MinGW build: make distclean now leaves the build directory empty.
jan.nijtmanswiki2026-10-20 15:08:36
Just go ahead!
+1
Thanks!
serhiy.storchaka Closed ticket [59a9b957c6].
[History diff]2026-10-20 15:21:42
serhiy.storchaka Ticket [59a9b957c6]: 3 changes
[History diff]2026-10-22 17:19:28
Log in (anonymous is fine) to add a comment.