svg2: Add make rule for all specs.

details:   https://svgwg.org/hg/svg2/rev/1e217e22fcc2
branches:  
changeset: 482:1e217e22fcc2
user:      Cameron McCormack <cam@mcc.id.au>
date:      Sat Apr 06 14:06:15 2013 +1100
description:
Add make rule for all specs.

diffstat:

 Makefile |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (19 lines):

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,15 @@
 # Makefile for SVG 1.1 Second Edition.
 
 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)"
 
 all :
 	@../svg2-tools/build.py
 
 pdf : all
 	prince --no-author-style -s build/publish/style/svg-style.css -s http://www.w3.org/StyleSheets/TR/W3C-REC -s build/publish/style/svg-style-print.css build/publish/single-page.html -o build/publish/single-page.pdf

Received on Saturday, 6 April 2013 03:07:05 UTC