2003/02/25 22:44:58
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:53:08 +0000 (06:53 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:53:08 +0000 (06:53 +0000)
darcs-hash:20040130065308-2ba56-3ed9c8fe7befb513ec2fa37fd5efab52e2a3a8b2.gz

Makefile

index 1c257d4..b5e680e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ all_platforms          := Win32 Linux Java2
 
 ## Platform-Neutral ###########################################################################
 
-.SILENT: $(jikes_java_objects) .headers $(gcj_java_objects) $(all_platforms) PalmOS bin/org/xwt/builtin.xwar
+.SILENT: update-build $(jikes_java_objects) .headers $(gcj_java_objects) $(all_platforms) PalmOS bin/org/xwt/builtin.xwar
 
 compile: $(jikes_java_objects) bin/org/xwt/builtin.xwar
 
@@ -52,6 +52,14 @@ clean:
        find . -name \*~ | xargs rm -f
        find . -name \#\*\# | xargs rm -f
 
+update-build:
+       (echo -n 0000; (echo "10k16o16i"; cat next.build | tr a-z A-Z; echo "1+f") | dc) | tail --bytes=5 > next.build-
+       mv next.build- next.build
+       echo -n "Next build will be "
+       cat next.build
+       echo committing...
+       cvs commit -m 'updated build' next.build
+       echo committed.
 
 ## GCJ-Derived Platforms #######################################################################