Runtime file updates.

This commit is contained in:
Bram Moolenaar
2010-08-13 14:38:12 +02:00
parent 580061a821
commit 6b6eedfc1c
2 changed files with 6 additions and 5 deletions

View File

@ -59,7 +59,8 @@ pt_PT.aff pt_PT.dic: {buildcheck=}
:delete {f} description.xml
:delete {f} dictionaries.xcu
:delete {f} LICENSES.txt
:sys $VIM pt_PT.dic -u NONE -e -c "%s/\t.*//" -c update -c q
# Remove grammer items and the duplicates this causes
:sys $VIM pt_PT.dic -u NONE -e -c "%s/\t.*//" -c "2,$$ sort u" -c update -c q
:sys $VIM pt_PT.aff -u NONE -e -c "%s/\S\+=\S\+$$//" -c update -c q
@if not os.path.exists('pt_PT.orig.aff'):
:copy pt_PT.aff pt_PT.orig.aff