Project

General

Profile

« Previous | Next » 

Revision 7383

inputs/FIA/_src/Makefile: Table bundling: Fixed bug where need to remove trailing slashes from dirs that will match a target pattern

View differences:

Makefile
45 45
dirCsvs = $(wildcard $(csvPattern*))
46 46
dirTables = $(patsubst $(csvPattern),%,$(dirCsvs))
47 47
tableNames := $(sort $(foreach dir,$(dirs),$(dirTables)))
48
tableDirs := $(tableNames:%=../%/)
48
tableDirs := $(tableNames:%=../%)
49 49

  
50 50
tables: _always $(tableDirs) ;
51 51

  
52 52
tableCsvs = $(wildcard $(dirs:%=$(csvPattern)))
53 53

  
54
$(tableDirs): ../%/: _always
54
$(tableDirs): ../%: _always
55 55
	$(call mkdir,$@)
56 56
	$(if $(tableCsvs),mv $(tableCsvs) $@)

Also available in: Unified diff