Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 48c02e0e0f2665de53b3a96289b281b6d256b843
Ticket: 1016726fffffffffffffffffffffffffffffffff
"make clean" cleans too much for static build
User & Date: avl42 on 2004-08-26 10:56:09
Changes

  1. assignee changed to: "mdejong"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    in subdir unix/dltest, the Makefile(.in) does (among others)
      rm -f ...  *${SHLIB_SUFFIX} ...
    
    in a static build, SHLIB_SUFFIX is empty, so doing 
    make clean once will remove all the contents of
    unix/dltest (including the Makefile itself)  and thus 
    any further "make"ing fails (because the Makefile in
    that directory is then gone).
    
    Possible solutions:
       for static builds, set SHLIB_SUFFIX to something 
          non-empty, like '.dummy' or something that 
          would be cleaned anyway, for static builds ('.a')
       use expression magic to have "*${SHLIB_SUFFIX}" 
          disappear if SHLIB_SUFFIX is empty, or wrap
          removing of that pattern into some conditional clause.
       prepend "lib" to the pattern: lib*${SHLIB_SUFFIX}
    
    I hope one of these is acceptable or some other 
    solution found.
    
    
  4. foundin changed to: "obsolete: 8.5a2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "avl42"
  9. subsystem changed to: "53. Configuration and Build Tools"
  10. title changed to: ""make clean" cleans too much for static build"
  11. type changed to: "Bug"