chiark / gitweb /
Adjust the build script to turn the NestedVM build into a delegation,
authorSimon Tatham <anakin@pobox.com>
Thu, 27 Jun 2013 21:17:04 +0000 (21:17 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 27 Jun 2013 21:17:04 +0000 (21:17 +0000)
so that not every machine on which I want to run the full Puzzles
build will have to have a local NestedVM installation.

[originally from svn r9882]

Buildscr

index 9552fb34bb85f7a241c0d3ace76aee786958b989..a1b1a294481e3297eb9e7d16ce752c601fb2ff60 100644 (file)
--- a/Buildscr
+++ b/Buildscr
@@ -106,11 +106,11 @@ ifneq "$(JAVA_UNFINISHED)" "" in puzzles do perl -i~ -pe 'print "!srcdir unfinis
 ifneq "$(JAVA_UNFINISHED)" "" in puzzles do ln -s unfinished/group.R .
 ifneq "$(JAVA_UNFINISHED)" "" in puzzles do perl mkfiles.pl
 
-# Build the Java applets. This requires .bob.conf on the master
-# build machine to have defined the variable NESTEDVM pointing at
-# the top-level directory of an installation of the NestedVM
-# compiler and tools.
-in puzzles do make -f Makefile.nestedvm NESTEDVM=$(NESTEDVM) VER=-DREVISION=$(revision)
+# Build the Java applets.
+delegate nestedvm
+  in puzzles do make -f Makefile.nestedvm NESTEDVM="$$NESTEDVM" VER=-DREVISION=$(revision)
+  return puzzles/*.jar
+enddelegate
 
 # Build the Javascript applets. Since my master build machine doesn't
 # have the right dependencies installed for Emscripten, I do this by a