Project

General

Profile

« Previous | Next » 

Revision 7486

mappings/Makefile: VegCore.thesaurus.csv: removal of tables: ignore errors if grep found no match

View differences:

Makefile
31 31
|sort -u) <$< >$@
32 32

  
33 33
$(thesaurus): VegCore.htm
34
	(echo "Veg+,VegCore"; $(bin)/redmine_synonyms|grep -vE '^\??[A-Z][a-z]')\
35
<$< >$@
34
	(echo "Veg+,VegCore"; $(bin)/redmine_synonyms|grep -vE '^\??[A-Z][a-z]';\
35
true) <$< >$@ # true: ignore errors if grep found no match
36 36
	# Canonicalize alternatives of ambiguous terms using unambiguous mappings
37 37
	$(bin)/in_place $@ $(bin)/translate 1 <(grep -vE '^\?' $(thesaurus))
38 38
	$(bin)/in_place $@ $(bin)/collapse_multimap

Also available in: Unified diff