Project

General

Profile

« Previous | Next » 

Revision 2621

main Makefile: VegBIEN DB: DB and bien user: Factored $(confirmRm<schema>) functions message text out into $(confirmRmSchema) function

View differences:

Makefile
174 174
confirmRmDb = $(call confirm,WARNING: This will delete your entire VegBIEN\
175 175
DB!,This includes all public schema versions and staging tables.)
176 176

  
177
confirmRmPublicSchema = $(call confirm,WARNING: This will delete the current\
178
public schema of your VegBIEN DB!,To save it: make schemas/rotate)
177
confirmRmSchema = $(call confirm,WARNING:\
178
This will delete the $(1) schema of your VegBIEN DB!,$(2))
179
confirmRmPublicSchema =\
180
$(call confirmRmSchema,current public,To save it: make schemas/rotate)
179 181

  
180 182
rmPublicSchema := $(call rmSchemaCmd,public)
181 183

  
......
221 223

  
222 224
#### functions schema
223 225

  
224
confirmRmFunctions = $(call confirm,WARNING:\
225
This will delete the functions schema of your VegBIEN DB!)
226

  
227 226
schemas/functions/reset: schemas/functions.sql _always
228
	@$(confirmRmFunctions)
227
	@$(call confirmRmSchema,functions)
229 228
	echo $(call rmSchemaCmd,functions)|$(psqlAsBien)
230 229
	<$< $(psqlAsBien)
231 230

  

Also available in: Unified diff