main.aap 573 B

123456789101112131415161718192021222324
  1. # Aap recipe for Serbian Vim spell files.
  2. # See README_sr.txt for instructions to get the .aff and .dic files.
  3. # Use a freshly compiled Vim if it exists.
  4. @if os.path.exists('../../../src/vim'):
  5. VIM = ../../../src/vim
  6. @else:
  7. :progsearch VIM vim
  8. SPELLDIR = ..
  9. FILES = sr.aff sr.dic
  10. all: $SPELLDIR/sr.utf-8.spl ../README_sr.txt
  11. $SPELLDIR/sr.utf-8.spl : $FILES
  12. :sys env LANG=sr_RS.UTF-8
  13. $VIM -u NONE -e -c "set enc=utf-8" -c "mkspell! $SPELLDIR/sr sr" -c q
  14. ../README_sr.txt : README_sr.txt
  15. :copy README_sr.txt $target
  16. vim: set sts=4 sw=4 :