Makefile
changeset 429 e721e428b909
parent 428 8598efaef822
child 431 4ec7d0ea1602
equal deleted inserted replaced
428:8598efaef822 429:e721e428b909
   414 echo ' gadict project statistics'; \
   414 echo ' gadict project statistics'; \
   415 echo '==========================='; \
   415 echo '==========================='; \
   416 echo '.. contents::'; \
   416 echo '.. contents::'; \
   417 echo '   :local:'; \
   417 echo '   :local:'; \
   418 echo; \
   418 echo; \
       
   419 echo "Entries count"; \
       
   420 echo "============="; \
       
   421 echo; \
   419 echo '.. class:: right'; \
   422 echo '.. class:: right'; \
   420 echo; \
   423 echo; \
   421 echo '=================================== ======='; \
   424 echo '=================================== ======='; \
   422 echo '        Dictionary                  Entries'; \
   425 echo '        Dictionary                  Entries'; \
   423 echo '=================================== ======='; \
   426 echo '=================================== ======='; \
   427   printf '%35s %7s\n' $${dic%.dict-c5} $$cnt; \
   430   printf '%35s %7s\n' $${dic%.dict-c5} $$cnt; \
   428   total=$$(($$total + $$cnt)); \
   431   total=$$(($$total + $$cnt)); \
   429 done; \
   432 done; \
   430 printf '%35s %7s\n' '**Total**' $$total; \
   433 printf '%35s %7s\n' '**Total**' $$total; \
   431 echo '=================================== ======='; \
   434 echo '=================================== ======='; \
       
   435 echo; \
       
   436 echo "Translations count"; \
       
   437 echo "=================="; \
       
   438 echo; \
       
   439 echo '.. class:: right'; \
       
   440 echo; \
       
   441 echo '==================== ============'; \
       
   442 echo '   gadict_en-ru+uk   Translations'; \
       
   443 echo '==================== ============'; \
       
   444 ru_tr=`grep '^ru: ' gadict_en-ru+uk.gadict | wc -l`; \
       
   445 uk_tr=`grep '^uk: ' gadict_en-ru+uk.gadict | wc -l`; \
       
   446 printf '%20s Ru\n' $$ru_tr; \
       
   447 printf '%20s Uk\n' $$uk_tr; \
       
   448 echo '==================== ============'; \
   432 } >$@
   449 } >$@
   433 
   450 
   434 dist/misc/:
   451 dist/misc/:
   435 	mkdir -p $@
   452 	mkdir -p $@
   436 
   453