Project

General

Profile

« Previous | Next » 

Revision 7279

input.Makefile: Moved taxonomic scrubbing targets to separate Taxonomic scrubbing section

View differences:

input.Makefile
383 383
# default:
384 384
%/import: _always ;
385 385

  
386
#### Taxonomic scrubbing
387

  
386 388
import_scrub: _always import
387 389
	$(selfMake) $(root)/scrub & echo $$!
388 390

  
391
# Removes TNRS taxondeterminations
392
unscrub: _always
393
	echo "SELECT delete_scrubbed_taxondeterminations('$(datasrc)');"|\
394
"time" env no_query_results=1 $(psqlAsBien)
395

  
389 396
##### Log files from import
390 397

  
391 398
logs := $(wildcard */logs/*.log.sql */logs/*.trace)
......
438 445
	echo "DELETE FROM source WHERE shortname = '$(datasrc)';"\
439 446
|"time" $(psqlAsBien)
440 447

  
441
# Removes TNRS taxondeterminations
442
unscrub: _always
443
	echo "SELECT delete_scrubbed_taxondeterminations('$(datasrc)');"|\
444
"time" env no_query_results=1 $(psqlAsBien)
445

  
446 448
##### Testing
447 449

  
448 450
testRefOutput = $(subst .by_col,,$(1))

Also available in: Unified diff