added rules to generate list of cards and list of cards with oracle text

master
melvin 2011-06-02 15:03:14 +08:00
parent 1308aa22b3
commit e41d2fa0a1
1 changed files with 6 additions and 0 deletions

View File

@ -9,6 +9,12 @@ EXE:=release/Magarena.exe
all: $(MAG) $(EXE) tags
newcards/existing.txt: resources/magic/data/cards.txt resources/magic/data/cards2.txt
cat $^ | grep "^>" | sed 's/>//' | sort > $@
newcards/existing_full.txt: newcards/existing.txt data/mtg-data.txt
awk -f scripts/extract_existing.awk $^ > $@
M1.%:
-rm -rf Magarena-1.$*
-rm Magarena-1.$*.zip