Changeset 690 for trunk/kBuild


Ignore:
Timestamp:
Dec 8, 2006, 9:35:58 AM (19 years ago)
Author:
bird
Message:

fixed target aliases and removed debug sleep 30.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r689 r690  
    908908                $$(addprefix $(inst),$$(sort $$(dir $$(shell $$(CAT_EXT) $(out).lst 2> /dev/null))))
    909909        $$(RM) -f $(out).lst $(out)
    910                 -/cygwin/bin/sleep 30
    911910        $$(RMDIR) -p --ignore-fail-on-non-empty --ignore-fail-on-not-exist $$(dir $$@)
    912911
    913912$(out): $(comp-vars _TARGET_$(target)_DIGEST_PREV,_TARGET_$(target)_DIGEST,FORCE) | $(call DIRDEP,$(inst))
    914         @$$(RM) -f $$@ 
     913        @$$(RM) -f $$@
    915914        @$$(ECHO) $$(if $$(wildcard $(out).lst),Re-fetching,Fetching) $(target)...
    916915        $$(if $$(wildcard $(out).lst),$$(MAKE) -f $(MAKEFILE) $(out)_unfetched)
     
    918917        @$$(APPEND) $$@ "_TARGET_$(target)_DIGEST_PREV := $(_TARGET_$(target)_DIGEST)"
    919918       
    920 $(target):: $(out)
    921 $(target)_unfetch:: $(out)_unfetched
    922 
    923919.NOTPARALLEL: $(out).lst $(out)_unfetched $(out)
    924920
     
    953949
    954950$(eval includedep $(out))
     951
    955952$(eval $(def_fetch_rules))
     953
     954# Define the aliases here (doesn't work if defined in def_fetch_rules, just like includedep).
     955$(target):: $(out)
     956$(target)_unfetch:: $(out)_unfetched
    956957
    957958_FETCHES += $(out)
Note: See TracChangeset for help on using the changeset viewer.