Makefile 616 B

1234567891011121314151617
  1. include LaTeX.mk
  2. # http://stevenrbrandt.com/wordpress/?p=96
  3. check:
  4. aspell --encoding=iso8859-1 -t -l fr --add-extra-dicts=./custom_dict.aspell -c $(addsuffix .tex,$(LU_MASTERS))
  5. aspell-create-wordlist:
  6. aspell -t list --encoding=iso8859-1 -l fr -a < $(addsuffix .tex,$(LU_MASTERS)) | sort -u > ./custom_word_list.txt
  7. aspell-create-dict:
  8. aspell --lang fr create master ./custom_dict.aspell < ./custom_word_list.txt
  9. wc:
  10. grep -A 1000 "begin{abstract}" $(addsuffix .tex,$(LU_MASTERS)) | grep -B 1000 "end{abstract}" | grep -v "{abstract}" | wc -w
  11. .PHONY: swf
  12. translate:
  13. po4a po4a/po4a.cfg --verbose -k 0 -M utf8