Add make rule for all specs.
authorCameron McCormack <cam@mcc.id.au>
Sat, 06 Apr 2013 14:06:15 +1100
changeset 482 1e217e22fcc2
parent 481 ba1512ba7ef0
child 483 7004b7adbc8b
Add make rule for all specs.
Makefile
--- a/Makefile	Sat Apr 06 13:27:51 2013 +1100
+++ b/Makefile	Sat Apr 06 14:06:15 2013 +1100
@@ -2,6 +2,9 @@
 
 all-with-tools-check : tools-check all
 
+all-specs : all
+	@for spec in specs/*; do [ -f $$spec/Makefile ] && make -C $$spec/ all; done
+
 tools-check :
 	@bash -c "REMOTE_REV=$$(hg id -i http://svgwg.org/hg/svg2-tools); [ \$$? = 0 -o \"\$$REMOTE_REV\" != \"\" ] || exit 0; LOCAL_REV=$$(hg id -i ../svg2-tools); [ \"\$$LOCAL_REV\" = \"\$$REMOTE_REV\" -o \"\$$LOCAL_REV\" = \"\$$REMOTE_REV\"+ ] || (echo \"You must update your svg2-tools repository! (Remote repository has revision \$$REMOTE_REV, but you are at \$$LOCAL_REV.)\"; exit 1)"