summaryrefslogtreecommitdiff
path: root/runtime/spell/nl/main.aap
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/spell/nl/main.aap')
-rw-r--r--runtime/spell/nl/main.aap7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/spell/nl/main.aap b/runtime/spell/nl/main.aap
index f398cb6cd..b41416143 100644
--- a/runtime/spell/nl/main.aap
+++ b/runtime/spell/nl/main.aap
@@ -4,7 +4,7 @@
@if os.path.exists('../../../src/vim'):
VIM = ../../../src/vim
@else:
- VIM = vim
+ :progsearch VIM vim
SPELLDIR = ..
FILES = nl_NL.aff nl_NL.dic
@@ -38,8 +38,9 @@ nl_NL.aff nl_NL.dic: {buildcheck=}
@if not os.path.exists('nl_NL.orig.aff'):
:copy nl_NL.aff nl_NL.orig.aff
@if not os.path.exists('nl_NL.orig.dic'):
- :copy nl_NL.aff nl_NL.orig.dic
- :sys patch <nl_NL.diff
+ :copy nl_NL.dic nl_NL.orig.dic
+ @if os.path.exists('nl_NL.diff'):
+ :sys patch <nl_NL.diff
# Generate diff files, so that others can get the OpenOffice files and apply