Makefile
changeset 592 f45410f1f80e
parent 589 dc1684bc674d
child 593 32de94c1b039
equal deleted inserted replaced
591:8559d847b8c0 592:f45410f1f80e
   367 
   367 
   368 .PHONY: dict dictd c5
   368 .PHONY: dict dictd c5
   369 dictd c5: dict
   369 dictd c5: dict
   370 dict: $(DICTDZ_FILES) $(INDEX_FILES)
   370 dict: $(DICTDZ_FILES) $(INDEX_FILES)
   371 
   371 
       
   372 DICTFMT := dictfmt
   372 #  --case-sensitive
   373 #  --case-sensitive
       
   374 DICTFMT_OPT := --headword-separator '; ' --break-headwords --without-headword --utf8 --allchars
       
   375 
   373 dist/dictd/%.dict dist/dictd/%.index: dist/dictd/%.c5 dist/dictd/%.c5.name dist/dictd/%.c5.url $(MAKEFILE_LIST)
   376 dist/dictd/%.dict dist/dictd/%.index: dist/dictd/%.c5 dist/dictd/%.c5.name dist/dictd/%.c5.url $(MAKEFILE_LIST)
   374 	(cd dist/dictd; dictfmt  -c5 --headword-separator '; ' --break-headwords --without-headword --utf8 --allchars -s "`cat $*.c5.name`" -u "`cat $*.c5.url`"  $*)  < $<
   377 	(cd dist/dictd; $(DICTFMT) $(DICTFMT_OPT)  -c5  -s "`cat $*.c5.name`" -u "`cat $*.c5.url`"  $*)  < $<
   375 
   378 
   376 dist/dictd/%.dict.dz: dist/dictd/%.dict
   379 dist/dictd/%.dict.dz: dist/dictd/%.dict
   377 	dictzip -c $< >$@
   380 	dictzip -c $< >$@
   378 
   381 
   379 GADICT_SUFFIXES := en-ru+uk en-ru en-uk voa
   382 GADICT_SUFFIXES := en-ru+uk en-ru en-uk voa