add rule to process cards.xml

master
melvin 2014-09-17 13:02:42 +08:00
parent 7a297766ac
commit 6f07bf5ad2
1 changed files with 4 additions and 0 deletions

View File

@ -365,6 +365,10 @@ upload/Magarena-%.zip: Magarena-%.zip
-s "$^" \
$^
# correct phyrexian mana from {P/.} -> {./P}
cards/cards.xml: cards/cards.orig.xml
sed "s/{P\/\(.\)}/{\1\/P}/g;s//'/g" $^ > $@
cards/scriptable.txt: scripts/analyze_cards.scala scripts/effects.txt cards/cards.xml cards/existing_tip.txt
scala $^ > $@