Build target for new build scripts.
authorCameron McCormack <cam@mcc.id.au>
Wed, 01 Aug 2012 20:00:31 +1000
changeset 229 6c6da98a3b0c
parent 228 adb6cacf20c8
child 230 dca57a05d7f1
Build target for new build scripts.
Makefile
--- a/Makefile	Wed Aug 01 19:51:13 2012 +1000
+++ b/Makefile	Wed Aug 01 20:00:31 2012 +1000
@@ -6,10 +6,13 @@
 	@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 :
-	-node -e 'console.log("hello")' 2>&1 | mail -s test cam@mcc.id.au
 	[ -f /usr/bin/cygpath.exe ] || $(MAKE) -C master/images/implnote/arcs/
 	@../svg2-tools/build.py
 
+new :
+	[ -f /usr/bin/cygpath.exe ] || $(MAKE) -C master/images/implnote/arcs/
+	@../svg2-tools/build.py -n
+
 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