add rule to simplify adding card scripts from scripts_missing

master
melvinzhang 2015-03-19 10:32:04 +08:00
parent 44fa0b0106
commit 10cf2ce16c
1 changed files with 5 additions and 0 deletions

View File

@ -769,3 +769,8 @@ parse_new.txt:
| xmllint --html --xpath "//div[@id='wikicontent']" - \
| pandoc --from html --to markdown --no-wrap \
> $@
%.add: %
git mv $^ release/Magarena/scripts
$(eval NAME := $(shell grep "name=" $^ | sed 's/name=//'))
git commit -m "add ${NAME}"