Project

General

Profile

« Previous | Next » 

Revision 6919

schemas/Makefile: Installation: public: Added public%/install, to install a version of the public schema

View differences:

Makefile
43 43
# public schema will be owned by bien
44 44
# don't include public in the search_path
45 45

  
46
# Installs a version of the public schema
47
public%/install: vegbien.sql _always
48
	echo $(call mkSchemaCmd,$(@D))|$(psqlNoSearchPath)
49
	<$< $(sed) 's/( )public([,; ])/\1$(@D)\2/g'|$(psqlNoSearchPath)
50

  
46 51
public/uninstall: _always
47 52
	@$(confirmRmPublicSchema)
48 53
	echo $(rmPublicSchema)|$(psqlNoSearchPath)

Also available in: Unified diff