diff options
Diffstat (limited to 'runtime/spell/nl/main.aap')
-rw-r--r-- | runtime/spell/nl/main.aap | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/runtime/spell/nl/main.aap b/runtime/spell/nl/main.aap index b41416143e..02ae49d576 100644 --- a/runtime/spell/nl/main.aap +++ b/runtime/spell/nl/main.aap @@ -9,15 +9,15 @@ SPELLDIR = .. FILES = nl_NL.aff nl_NL.dic -all: $(SPELLDIR)/nl.latin1.spl $(SPELLDIR)/nl.utf-8.spl ../README_nl.txt +all: $SPELLDIR/nl.latin1.spl $SPELLDIR/nl.utf-8.spl ../README_nl.txt -$(SPELLDIR)/nl.latin1.spl : $(VIM) $(FILES) +$SPELLDIR/nl.latin1.spl : $VIM $FILES :sys env LANG=nl_NL.ISO8859-1 - $(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/nl nl_NL" -c q + $VIM -u NONE -e -c "mkspell! $SPELLDIR/nl nl_NL" -c q -$(SPELLDIR)/nl.utf-8.spl : $(VIM) $(FILES) +$SPELLDIR/nl.utf-8.spl : $VIM $FILES :sys env LANG=nl_NL.UTF-8 - $(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/nl nl_NL" -c q + $VIM -u NONE -e -c "mkspell! $SPELLDIR/nl nl_NL" -c q ../README_nl.txt : README_nl_NL.txt :copy $source $target @@ -26,19 +26,19 @@ $(SPELLDIR)/nl.utf-8.spl : $(VIM) $(FILES) # Fetching the files from OpenOffice.org. # OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries -:attr {fetch = $(OODIR)/%file%} nl_NL.zip +:attr {fetch = $OODIR/%file%} nl_NL.zip # The files don't depend on the .zip file so that we can delete it. # Only download the zip file if the targets don't exist. nl_NL.aff nl_NL.dic: {buildcheck=} :assertpkg unzip patch :fetch nl_NL.zip - :sys $(UNZIP) nl_NL.zip + :sys $UNZIP nl_NL.zip :delete nl_NL.zip @if not os.path.exists('nl_NL.orig.aff'): - :copy nl_NL.aff nl_NL.orig.aff + :copy nl_NL.aff nl_NL.orig.aff @if not os.path.exists('nl_NL.orig.dic'): - :copy nl_NL.dic nl_NL.orig.dic + :copy nl_NL.dic nl_NL.orig.dic @if os.path.exists('nl_NL.diff'): :sys patch <nl_NL.diff @@ -62,7 +62,7 @@ check: :cd tmp @try: @import stat - :sys $(UNZIP) ../nl_NL.zip + :sys $UNZIP ../nl_NL.zip :sys {force} diff ../nl_NL.orig.aff nl_NL.aff >d @if os.stat('d')[stat.ST_SIZE] > 0: :copy nl_NL.aff ../nl_NL.new.aff |