chiark / gitweb /
Introduce a mechanism in Buildscr for optionally building some of the
authorSimon Tatham <anakin@pobox.com>
Thu, 6 Jan 2011 18:37:05 +0000 (18:37 +0000)
committerSimon Tatham <anakin@pobox.com>
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.)

[originally from svn r9073]

Buildscr

index 5d44ff9f563bffb4682dedf19b2b672a415f132a..59481fc7b7a393e90485c9cfd6617f26df084d17 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