Beef up the sanity-check production for campaign data.

This commit is contained in:
Eric S. Raymond 2007-06-11 22:21:12 +00:00
parent 7c34c85c34
commit 4d53bec8d9

View file

@ -9,6 +9,12 @@ TOPDIR = ../../data/core ../data/{multiplayer,themes} ../../data/campaigns/*
# otherwise the visibility checks aren't going to work right.
# UMC = ../../../umc/*
sanity-check: unresolved check-obsolete
check-obsolete:
# Check for obsolete WML
wmllint --dryrun $(TOPDIR) $(UMC)
unresolved:
@echo "# Report on unresolved macro calls and resource references"
@./wmlscope --unresolved $(TOPDIR) $(UMC)