Project

General

Profile

« Previous | Next » 

Revision 1199

input.Makefile: Moved verify files into separate subdir

View differences:

input.Makefile
65 65
svn_props: _always
66 66
	svn propset svn:ignore $$'.~*\n*.log\n*.trace\n*.out\nsrc*' .
67 67
	$(if $(wildcard maps/),svn propset svn:ignore $$'.~*' maps)
68
	$(if $(wildcard verify/),svn propset svn:ignore $$'*.out' verify)
68 69
	$(if $(wildcard test/),svn propset svn:ignore $$'*.out\n*.xml' test)
69 70

  
70 71
##### Installation
......
155 156

  
156 157
verify: $(addprefix verify-,$(tables)) _always ;
157 158

  
158
verify-%: verify.%.ref verify.%.out _always
159
verify-%: verify/%.ref verify/%.out _always
159 160
	-$(diffVerbose) $(+_)
160 161
# don't abort on verification errors, which are expected during development
161 162
# default:
162
verify-%: verify.%.out _always
163
verify-%: verify/%.out _always
163 164
	$(if $(wildcard $<),cat $<)
164
# don't run if verify.%.out's default do-nothing action was used
165
# don't run if verify/%.out's default do-nothing action was used
165 166

  
166 167
verify = $(psqlAsBien) --set=datasource="'$(datasrc)'" --no-align\
167 168
--field-separator='	' --pset=footer=off --pset=null=NULL <$< >$@
168 169

  
169
verify.%.out: $(mappings)/verify.%.sql _always
170
verify/%.out: $(mappings)/verify.%.sql _always
170 171
	$(verify)
171
.PRECIOUS: verify.%.out
172
.PRECIOUS: verify/%.out
172 173
# default:
173
verify.%.out: _always ;
174
verify/%.out: _always ;
174 175

  
175
all += $(wildcard verify.*.out)
176
all += $(wildcard verify/*.out)
176 177

  
177 178
ifneq ($(dbFile),)
178 179
%.ref: %.ref.sql

Also available in: Unified diff