Revision 4644
Added by Aaron Marcuse-Kubitza about 12 years ago
inputs/input.Makefile | ||
---|---|---|
284 | 284 |
+$(selfMake) $(<:%/map.csv=%/new_terms.csv) |
285 | 285 |
# Include comment column so commented mappings are never removed |
286 | 286 |
else |
287 |
%/map.csv: %/src.csv _always
|
|
288 |
$(if $(wildcard $@),,$(if $(wildcard $<),$(CP) $< $@))
|
|
287 |
%/map.csv: _always |
|
288 |
$(if $(wildcard $@),,$(if $(nonXml),$(mkSrcMap)))
|
|
289 | 289 |
+$(selfMake) $(@:%/map.csv=%/.map.csv.last_cleanup) |
290 | 290 |
endif |
291 | 291 |
|
README.TXT | ||
---|---|---|
92 | 92 |
Add <table> to inputs/<datasrc>/import_order.txt before other tables |
93 | 93 |
that depend on it |
94 | 94 |
Auto-create the map spreadsheets: |
95 |
make inputs/<datasrc>/; make inputs/<datasrc>/ |
|
96 |
Note: Must be run twice to properly bootstrap all maps. |
|
95 |
make inputs/<datasrc>/ |
|
97 | 96 |
svn add inputs/<datasrc>/*/{,.}{header,src,map*,*terms,VegBIEN}.csv{,.*} |
98 | 97 |
Install the staging tables: |
99 | 98 |
make inputs/<datasrc>/reinstall quiet=1 & |
Also available in: Unified diff
input.Makefile: Maps building: %/map.csv: If it doesn't exist, generate directly using $(mkSrcMap) instead of by copying %/src.csv, in order to eventually avoid the need to create a separate src.csv at all. Note that this avoids the need to run make twice when the table is first created to properly bootstrap all maps.