refer to MagicCompRules directly instead of via wildcard

master
melvinzhang 2015-01-20 16:42:49 +08:00
parent ba87c1b430
commit 6b749d20bf
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ decks/update:
ref/MagicCompRules_latest.txt:
wget `curl http://magic.wizards.com/en/gameinfo/gameplay/formats/comprehensiverules | grep -o "http://media.*\.txt"` -O $@
ref/rules.txt: $(lastword $(wildcard ref/MagicCompRules_*.txt))
ref/rules.txt: ref/MagicCompRules_latest.txt
fmt -s $^ > $@
flip -bu $@