From 91ef43ec86992c4d3f19809e53fd4ef9474fa89b Mon Sep 17 00:00:00 2001 From: melvin Date: Wed, 17 Jul 2013 13:55:13 +0800 Subject: [PATCH] make cards/scriptable.txt a dependency of check_meta --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d8078b8e32..f4214aa4ff 100644 --- a/Makefile +++ b/Makefile @@ -451,9 +451,9 @@ checks: \ check_meta # check metadata using cards.xml -check_meta: - diff <(cat `grep name= cards/scriptable.txt | sed 's/[^A-Za-z]/_/g;s/name_/release\/Magarena\/scripts\//;s/$$/.txt/'`) \ - <(sed '/^$$/d' cards/scriptable.txt) -d |\ +check_meta: cards/scriptable.txt + diff <(cat `grep name= $^ | sed 's/[^A-Za-z]/_/g;s/name_/release\/Magarena\/scripts\//;s/$$/.txt/'`) \ + <(sed '/^$$/d' $^) -d |\ grep ">" |\ grep -v "0/0" |\ grep -v "\*" |\