Mercurial > hg > Members > kono > nitros9-code
changeset 2844:787e3a7b1305 lwtools-port
level2/coco3/makefile: Fix attributes on non-local text files
Some text files are referenced with full source path and that fails
when using these names on the disk image.
Use $(notdir file) makefile function to strip away paths.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Thu, 11 Jul 2013 00:35:29 +0200 |
parents | ef23548ecc6e |
children | 0f8d54435001 |
files | level2/coco3/makefile |
diffstat | 1 files changed, 11 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/level2/coco3/makefile Wed Jul 10 22:40:26 2013 +0200 +++ b/level2/coco3/makefile Thu Jul 11 00:35:29 2013 +0200 @@ -126,7 +126,7 @@ $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS - $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) + $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(notdir $(file));) $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) $(CPL) $(STARTUP_DW) $@,startup @@ -180,7 +180,7 @@ $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS - $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) + $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(notdir $(file));) $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) $(CPL) $(STARTUP_DW) $@,startup @@ -234,7 +234,7 @@ $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS - $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) + $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(notdir $(file));) $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) $(CPL) $(STARTUP_DW) $@,startup @@ -288,7 +288,7 @@ $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS - $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) + $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(notdir $(file));) $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) $(CPL) $(STARTUP_DW) $@,startup @@ -342,7 +342,7 @@ $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS - $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) + $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(notdir $(file));) $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) $(CPL) $(STARTUP_DW) $@,startup @@ -396,7 +396,7 @@ $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS - $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) + $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(notdir $(file));) $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) $(CPL) $(STARTUP_DW) $@,startup @@ -450,7 +450,7 @@ $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS - $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) + $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(notdir $(file));) $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) $(CPL) $(STARTUP_DW) $@,startup @@ -504,7 +504,7 @@ $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS - $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) + $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(notdir $(file));) $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) $(CPL) $(STARTUP) $@,startup @@ -527,7 +527,7 @@ $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS - $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) + $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(notdir $(file));) $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) $(CPL) $(STARTUP) $@,startup @@ -592,7 +592,7 @@ $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS - $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) + $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(notdir $(file));) $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) $(CPL) $(STARTUP) $@,startup @@ -648,7 +648,7 @@ $(CD) sys; $(CP) $(SYSBIN) ../$@,SYS $(foreach file, $(SYSBIN), $(OS9ATTR_TEXT) $@,SYS/$(file);) $(CD) sys; $(CPL) $(SYSTEXT) ../$@,SYS - $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) + $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(notdir $(file));) $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) $(CPL) $(STARTUP) $@,startup