From 08bf2626dc17983d2256e7967f9e7d0d7b221d82 Mon Sep 17 00:00:00 2001 From: simon Date: Thu, 6 Jan 2011 18:37:05 +0000 Subject: [PATCH] Introduce a mechanism in Buildscr for optionally building some of the (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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Buildscr b/Buildscr index 5d44ff9..59481fc 100644 --- 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 -- 2.11.0