Project

General

Profile

« Previous | Next » 

Revision 1667

input.Makefile: Added targets for editing import: import/rotate, import/rm

View differences:

inputs/input.Makefile
235 235
	$(dbAsBien) $(db) <$< >$@
236 236
endif
237 237

  
238
##### Editing import
239

  
240
import/rotate: _always
241
	echo "UPDATE party SET organizationname = organizationname||'$(date)'\
242
WHERE organizationname = '$(db)';"|$(psqlAsBien)
243

  
244
import/rm: _always
245
	echo "DELETE FROM party WHERE organizationname = '$(db)';"|$(psqlAsBien)
246

  
238 247
##### Testing
239 248

  
240 249
ifneq ($(wildcard test/),)

Also available in: Unified diff