Revision 6984
Added by Aaron Marcuse-Kubitza almost 12 years ago
input.Makefile | ||
---|---|---|
416 | 416 |
|
417 | 417 |
##### Editing import |
418 | 418 |
|
419 |
rotate: _always
|
|
420 |
echo "UPDATE source SET shortname = shortname||'.$(version)'\
|
|
421 |
WHERE shortname = '$(datasrc)';"|$(psqlAsBien)
|
|
419 |
rename/%: _always
|
|
420 |
echo "UPDATE source SET shortname = '$*' WHERE shortname = '$(datasrc)';"\
|
|
421 |
|$(psqlAsBien) |
|
422 | 422 |
|
423 |
rotate: _always rename/$(datasrc).$(version) ; |
|
424 |
|
|
423 | 425 |
rm: _always |
424 | 426 |
echo "DELETE FROM source WHERE shortname = '$(datasrc)';"|$(psqlAsBien) |
425 | 427 |
|
Also available in: Unified diff
input.Makefile: Editing import: Added rename/% and use it in rotate