Tcl Source Code

View Ticket
Login
Ticket UUID: 59a9b957c6e7738d1739c1a1f76110a33d730cbc
Title: windows: make distclean doesn't clean up
Type: Bug Created on: 2017-06-21 14:09:09
Submitter: bll Assigned to: nobody
Subsystem: 53. Configuration and Build Tools Severity: Minor
Priority: 5 Medium Last modified: 2026-10-22 17:19:28
Status: Closed Closed by: serhiy.storchaka
Resolution: Fixed Closed on: 2026-10-20 15:21:42
Version: 8.6.6
Description:
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.
User Comments:
serhiy.storchaka added on 2026-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 [2025c9111f|win-distclean-tcl-pc]. Checked with a MinGW build: make distclean now leaves the build directory empty.


jan.nijtmans added on 2026-10-20 15:08:36:

Just go ahead!

+1

Thanks!