summaryrefslogtreecommitdiffstats
path: root/runtime/spell
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-18 18:47:44 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-18 18:47:44 +0200
commit607cc1e0154bab3f83f3185d68cdff525e529ceb (patch)
tree586947c766891344f51d7e6a78bb5079871f9c1b /runtime/spell
parent6df6f47d6dc59fe82b95b9c2f4a4d542fd5ac239 (diff)
Minor runtime file updates.
Diffstat (limited to 'runtime/spell')
-rw-r--r--runtime/spell/sv/main.aap11
1 files changed, 10 insertions, 1 deletions
diff --git a/runtime/spell/sv/main.aap b/runtime/spell/sv/main.aap
index 1d9b428d25..536a0452ff 100644
--- a/runtime/spell/sv/main.aap
+++ b/runtime/spell/sv/main.aap
@@ -21,7 +21,7 @@ $SPELLDIR/sv.utf-8.spl : $FILES
:sys env LANG=sv_SE.UTF-8
$VIM -u NONE -e -c "mkspell! $SPELLDIR/sv sv_SE" -c q
-../README_sv.txt : LICENSE_sv_SE.txt
+../README_sv.txt : README_sv.txt
:copy $source $target
#
@@ -41,6 +41,9 @@ sv_SE.aff sv_SE.dic: {buildcheck=}
:copy dictionaries/sv_SE.aff sv_SE.aff
:copy dictionaries/sv_SE.dic sv_SE.dic
:delete {r} dictionaries dictionaries.xcu description.xml
+ :delete {f} README_sv.txt
+ :sys $VIM README_sv.txt -u NONE -N -e -c "0read LICENSE_en_US.txt" -c "read LICENSE_sv_SE.txt" -c "set ff=unix" -c write -c q
+ :delete LICENSE_en_US.txt LICENSE_sv_SE.txt
@if not os.path.exists('sv_SE.orig.aff'):
:copy sv_SE.aff sv_SE.orig.aff
@if not os.path.exists('sv_SE.orig.dic'):
@@ -48,6 +51,12 @@ sv_SE.aff sv_SE.dic: {buildcheck=}
@if os.path.exists('sv_SE.diff'):
:sys patch <sv_SE.diff
+# Delete all the generated files, start from scratch
+clean:
+ :delete {f} sv_SE.aff sv_SE.dic
+ :delete {f} sv_SE.aff.orig sv_SE.dic.orig
+ :delete {f} sv_SE.orig.aff sv_SE.orig.dic
+ :delete {f} README_sv.txt
# Generate diff files, so that others can get the OpenOffice files and apply
# the diffs to get the Vim versions.