Ignore:
Timestamp:
Mar 19, 2006, 6:58:45 AM (19 years ago)
Author:
bird
Message:

fixed install problem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r417 r424  
    12821282srcdst := $(subst =>, ,$(src))
    12831283srcsrc := $(firstword $(srcdst))
     1284srcdstdir := $(dir $(word 2,$(srcdst)))
    12841285srcdst := $(word $(words $(srcdst)),$(srcdst))
    12851286
     
    12971298# _INST
    12981299ifdef $(srcsrc)_INST
    1299 inst := $(patsubst %/,%,$($(srcsrc)_INST))/$(dir $(srcdst))
     1300inst := $(patsubst %/,%,$($(srcsrc)_INST))/$(dir $(srcdstdir))
    13001301else
    13011302ifdef $(target)_INST
    1302 inst := $(patsubst %/,%,$($(target)_INST))/$(dir $(srcdst))
    1303 else
    1304 inst := $(dir $(srcdst))
     1303inst := $(patsubst %/,%,$($(target)_INST))/$(dir $(srcdstdir))
     1304else
     1305inst := $(dir $(srcdstdir))
    13051306endif
    13061307endif
     
    13081309# calc target
    13091310insdst := $(call $(instfun),$(srcdst),$(target),$(inst),$(PATH_INS))
    1310 #$(warning instfun=$(instfun) srcdst=$(srcdst) target=$(target) srcdst=$(srcsrc) inst=$(inst) => insdst=$(insdst))
     1311#$(warning instfun=$(instfun) srcdst=$(srcdst) target=$(target) inst=$(inst) => insdst=$(insdst))
    13111312
    13121313# mode, uid and gid
     
    17381739__footer_kmk__ := target
    17391740endif # __footer_kmk__
     1741       
Note: See TracChangeset for help on using the changeset viewer.