Introduce a mechanism in Buildscr for optionally building some of the
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 6 Jan 2011 18:37:05 +0000 (18:37 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 6 Jan 2011 18:37:05 +0000 (18:37 +0000)
(more finished) puzzles in 'unfinished', as Java applets only. (The
rationale being: puzzles in 'unfinished' can be played locally by
people who go to the extra effort of downloading and building the
source, but to play them in Java is particularly inconvenient unless I
build the Java version myself. I just won't link it from the front
page.)

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9073 cda61777-01e9-0310-a592-d414129be87e

Buildscr

index 5d44ff9..59481fc 100644 (file)
--- a/Buildscr
+++ b/Buildscr
@@ -101,6 +101,10 @@ in puzzles do zip -j puzzles.zip winbin/*.exe puzzles.chm puzzles.hlp puzzles.cn
 # _parent_ directory, so be careful when we deliver it.)
 in puzzles do ./makedist.sh $(revision)
 
+ifneq "$(JAVA_UNFINISHED)" "" in puzzles do perl -i~ -pe 'print "!srcdir unfinished/\n" if /!srcdir icons/' Recipe
+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