added step to convert rules.txt to ascii first

master
melvin 2013-05-04 13:52:58 +08:00
parent 49712db508
commit ed42e95144
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ decks/mtgtop8_%.dec:
wget "http://www.mtgtop8.com/export_files/deck$*.mwDeck" -O $@
ref/rules.txt:
curl `wget http://www.wizards.com/magic/rules -O - | grep txt | cut -d'"' -f4` | fmt -s > $@
curl `wget http://www.wizards.com/magic/rules -O - | grep txt | cut -d'"' -f4` | iconv -f utf-16 -t ascii | fmt -s > $@
flip -u $@
resources/magic/data/icons/missing_card.png: