Ignore:
Timestamp:
Oct 9, 2002, 9:30:05 AM (18 years ago)
Author:
kevin
Message:

Remove 'register' proc.
Now targets have a handle to the target object directly. Alleviates need for
unique names, and simplifies pre-${target}/post-${target} implementation.
Will allow for future enhancement to options and variants.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portclean.tcl

    r626 r1015  
    3535package require portutil 1.0
    3636
    37 register com.apple.clean target clean_main always
    38 register com.apple.clean provides clean
    39 register com.apple.clean requires main
     37set com.apple.clean [target_new com.apple.clean clean_main]
     38${com.apple.clean} set runtype always
     39${com.apple.clean} provides clean
     40${com.apple.clean} requires main
    4041
    4142proc clean_main {args} {
Note: See TracChangeset for help on using the changeset viewer.