vim

Fork of vim, an acceptable text editor
git clone git://git.laack.co/vim.git
Log | Files | Refs | README | LICENSE

main.aap (573B)


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