Revision 5484
Added by Aaron Marcuse-Kubitza about 12 years ago
inputs/input.Makefile | ||
---|---|---|
57 | 57 |
selfMap = $(bin)/cols 0 0 |
58 | 58 |
psqlOpts := --set ON_ERROR_STOP=1 --quiet |
59 | 59 |
psqlAsBien := $(bin)/psql_vegbien $(psqlOpts) |
60 |
searchPath := $(datasrc),$(shell prefix=; . $(bin)/vegbien_dest;\ |
|
61 |
echo "$$schemas") |
|
62 |
searchPath := "$(subst $(comma),"$(comma)",$(searchPath))" |
|
60 | 63 |
# Usage: ($(inDatasrc); cat $(file))|$(psqlCmd) |
61 |
inDatasrc = echo 'SET search_path TO "$(datasrc)";'
|
|
64 |
inDatasrc := echo 'SET search_path TO $(searchPath);'
|
|
62 | 65 |
|
63 | 66 |
# SVN |
64 | 67 |
addDir = $(if $(wildcard $(1)/),svn add --depth=empty $(1),svn mkdir $(1)) |
Also available in: Unified diff
input.Makefile: $(inDatasrc): Also include the vegbien_dest $schemas in the search_path, so that the datasource's SQL scripts (create.sql, etc.) can use VegBIEN functions and types