Makefile
changeset 427 cc2a83d4d2f8
parent 424 98c8f14fc972
child 428 8598efaef822
equal deleted inserted replaced
426:1edb7766a26e 427:cc2a83d4d2f8
   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 '======================================== ======='; \
   419 echo '=================================== ======='; \
   420 echo '             Dictionary                  Entries'; \
   420 echo '        Dictionary                  Entries'; \
   421 echo '======================================== ======='; \
   421 echo '=================================== ======='; \
   422 total=0; \
   422 total=0; \
   423 for dic in $(GADICT_FILES); do \
   423 for dic in $(GADICT_FILES); do \
   424   cnt=`grep '^__' $$dic | wc -l`; \
   424   cnt=`grep '^__' $$dic | wc -l`; \
   425   printf '%40s %7s\n' $${dic%.dict-c5} $$cnt; \
   425   printf '%35s %7s\n' $${dic%.dict-c5} $$cnt; \
   426   total=$$(($$total + $$cnt)); \
   426   total=$$(($$total + $$cnt)); \
   427 done; \
   427 done; \
   428 printf '%40s %7s\n' '**Total**' $$total; \
   428 printf '%35s %7s\n' '**Total**' $$total; \
   429 echo '======================================== ======='; \
   429 echo '=================================== ======='; \
   430 } >$@
   430 } >$@
   431 
   431 
   432 dist/misc/:
   432 dist/misc/:
   433 	mkdir -p $@
   433 	mkdir -p $@
   434 
   434