1
|
#!/bin/bash -e
|
2
|
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/runscripts/table.run
|
3
|
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/sh/make.sh
|
4
|
|
5
|
if self_not_included; then
|
6
|
|
7
|
table.tsv.md5/make()
|
8
|
{
|
9
|
echo_func; set_make_vars; check_target_exists
|
10
|
silent=1 table_make "$target_filename"
|
11
|
}
|
12
|
|
13
|
table.tsv/make() # usage: [remake=1] [limit=...] .../run table.tsv/make
|
14
|
{
|
15
|
echo_func; set_make_vars; check_target_exists
|
16
|
to_target mysql_export_local
|
17
|
"$target_filename".md5/make
|
18
|
}
|
19
|
|
20
|
export_mysql()
|
21
|
{
|
22
|
echo_func
|
23
|
table.tsv/make
|
24
|
}
|
25
|
|
26
|
func_override import__table_run
|
27
|
import()
|
28
|
{
|
29
|
echo_func
|
30
|
export_mysql
|
31
|
import__table_run "$@"
|
32
|
}
|
33
|
|
34
|
fi
|