Ticket Change Details
Bounty program for improvements to Tcl and certain Tcl packages.

Artifact ID: d13e31ddb214287b0cec7175d46f9a57cbd1ec2b
Ticket: 47edc4cb21e0add7eb7c78fac02ca1ff6ab01473
Avoid unnecessary temporary files at build time
User & Date: anonymous on 2017-01-17 11:00:04

  1. icomment:
    I suggest the following change, to avoid unnecessary temporary files at build time.
    Index: Makefile.in
    --- Makefile.in
    +++ Makefile.in
    @@ -36,14 +36,12 @@
     # Create a C-source-ified version of the script resources
     # for TclTLS so that we only need a single file to enable
     # this extension
     tls.tcl.h: @[email protected]/tls.tcl Makefile
    -       od -A n -v -t xC < '@[email protected]/tls.tcl' > tls.tcl.h.new.1
    -       sed '[email protected]  *@@g;[email protected]@0x&, @g' < tls.tcl.h.new.1 > tls.tcl.h.new.2
    -       rm -f tls.tcl.h.new.1
    -       mv tls.tcl.h.new.2 tls.tcl.h
    +       od -A n -v -t xC < '@[email protected]/tls.tcl' | \
    +       sed '[email protected]  *@@g;[email protected]@0x&, @g' > tls.tcl.h
     # Create default DH parameters
     dh_params.h: @[email protected]/gen_dh_params Makefile
            @[email protected]/gen_dh_params @[email protected] > dh_params.h.new
            mv dh_params.h.new dh_params.h
  2. login: "anonymous"
  3. mimetype: "text/x-fossil-plain"
  4. private_contact changed to: "438e59f1f1c891b29d2528ed82d1e629cecc6336"
  5. severity changed to: "Minor"
  6. status changed to: "Open"
  7. title changed to: "Avoid unnecessary temporary files at build time"
  8. type changed to: "Build Problem"