Project

General

Profile

« Previous | Next » 

Revision 8183

schemas/*functions.sql: Renamed to *util.sql because now that these schemas are used by the new-style import scripts, there can be more than just functions in them

View differences:

Makefile
10 10

  
11 11
##### General targets
12 12

  
13
all = vegbien.sql vegbien.my.sql functions.sql py_functions.sql
13
all = vegbien.sql vegbien.my.sql util.sql py_util.sql
14 14

  
15 15
all: _always $(all) ;
16 16

  
......
21 21

  
22 22
##### Installation
23 23

  
24
schemas := temp functions py_functions
24
schemas := temp util py_util
25 25
install: $(schemas:%=%/install) ;
26 26

  
27
schemasReversed := py_functions functions temp
27
schemasReversed := py_util util temp
28 28
uninstall: $(schemasReversed:%=%/uninstall) ;
29 29

  
30 30
psqlOpts := --set ON_ERROR_STOP=1 --quiet
......
67 67

  
68 68
rotate: _always rename/$(version) ;
69 69

  
70
#### py_functions
70
#### py_util
71 71

  
72
py_functions/install: py_functions.sql _always
72
py_util/install: py_util.sql _always
73 73
	-<$< $(psqlAsAdminVegbien)
74 74
# ignore errors if schema exists
75 75

  
......
92 92
vegbien.sql:
93 93
	unset version dump_opts; $(call pg_dump,public)
94 94

  
95
py_functions.sql:
96
	env owners=1 $(call pg_dump,py_functions)
95
py_util.sql:
96
	env owners=1 $(call pg_dump,py_util)
97 97

  
98 98
# Must come after %.my.sql so that gets matched first
99 99
%.sql:

Also available in: Unified diff