# -*- sh -*-
# Build script to build Puzzles.
+module puzzles
+
# First build some local binaries, to run the icon build.
in puzzles do perl mkfiles.pl
in puzzles do make
# Now build the screenshots and icons.
in puzzles/icons do xvfb-run make web winicons gtkicons
+# Re-run mkfiles.pl now that it knows the icons are there.
+in puzzles do perl mkfiles.pl
+
# Destroy the local binaries, mostly to avoid wasting network
# bandwidth by transferring them to the delegate servers.
in puzzles do make clean
# Build the OS X .dmg archive.
delegate osx
in puzzles do make -f Makefile.osx clean
- in puzzles do make -f Makefile.osx release
+ in puzzles do make -f Makefile.osx release VER=-DREVISION=$(revision)
return puzzles/Puzzles.dmg
enddelegate
in puzzles do hhc puzzles.hhp; test -f puzzles.chm
# FIXME: Cygwin alternative?
in puzzles do cmd /c 'vcvars32 & nmake -f Makefile.vc clean'
- in puzzles do cmd /c 'vcvars32 & nmake -f Makefile.vc'
+ in puzzles do cmd /c 'vcvars32 & nmake -f Makefile.vc VER=-DREVISION=$(revision)'
return puzzles/puzzles.chm
return puzzles/*.exe
enddelegate