Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c64d7e119ce4734edf756b96c380eb38ab14d2bdfaa88f3a4da989611e5d44c5
Ticket: d80f8cf33b8059a4b2b832e0b01586a6902196a2
tcl/macosx Makefile has fragile `make distclean`
User & Date: serhiy.storchaka on 2026-10-20 12:44:05
Changes

  1. foundin changed to: "9.1.0"
  2. icomment:
    Still present on main (and the same code is in 9.0 and 8.6): <tt>clean-tcl</tt> and <tt>distclean-tcl</tt> in macosx/GNUmakefile always run <tt>make -C "${OBJ_DIR}"</tt>, and <tt>distclean</tt> does that for both the Development and the Deployment build. So it stops with "No such file or directory" as soon as one of them was never configured.
    
    Proposed fix in branch [/timeline?r=macosx-distclean-partial|macosx-distclean-partial]: the clean rules skip the sub-make when the build directory has no Makefile. Checked with the GNU make logic on Linux (nothing built, and after only a Development build); not tried on macOS.
    
  3. login: "serhiy.storchaka"
  4. mimetype: "text/x-fossil-wiki"