Revision 7280
Added by Aaron Marcuse-Kubitza about 12 years ago
inputs/input.Makefile | ||
---|---|---|
378 | 378 |
|
379 | 379 |
import: $(importTables:%=%/import) _always ; |
380 | 380 |
|
381 |
rm: _always |
|
382 |
echo "DELETE FROM source WHERE shortname = '$(datasrc)';"\ |
|
383 |
|"time" $(psqlAsBien) |
|
384 |
|
|
381 | 385 |
%/import: %/VegBIEN.csv _always |
382 | 386 |
$(import?) |
383 | 387 |
# default: |
... | ... | |
441 | 445 |
echo "UPDATE source SET shortname = '$*' WHERE shortname = '$(datasrc)';"\ |
442 | 446 |
|$(psqlAsBien) |
443 | 447 |
|
444 |
rm: _always |
|
445 |
echo "DELETE FROM source WHERE shortname = '$(datasrc)';"\ |
|
446 |
|"time" $(psqlAsBien) |
|
447 |
|
|
448 | 448 |
##### Testing |
449 | 449 |
|
450 | 450 |
testRefOutput = $(subst .by_col,,$(1)) |
Also available in: Unified diff
input.Makefile: Moved rm to Import to VegBIEN section