2003/03/10 23:45:02
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:56:23 +0000 (06:56 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:56:23 +0000 (06:56 +0000)
darcs-hash:20040130065623-2ba56-21fefeaf2d0671cf0d7851c4d191f93dba34f73e.gz

Makefile

index 948b173..48d3512 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,7 @@ clean:
        find . -name \#\*\# | xargs rm -f
 
 update-build:
-       cvs tag -F xwt-`cat next.build`
+       cvs tag -F xwt-$(current_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 "
@@ -205,5 +205,10 @@ dist-private:
        echo "copying xwt.linux to distribution area..."
        $(strip) bin-Linux/xwt.linux -o /var/www/master.dist.xwt.org/xwt-$(current_build).linux.unsigned
 
+       echo "creating source tarball in distribution area..."
+       CVSROOT=/cvs cvs export -r xwt-$(current_build) xwt
+       mv xwt xwt-$(current_build)
+       tar cvzf /var/www/master.dist.xwt.org/xwt-$(current_build).tgz xwt-$(current_build)
+
        echo
        echo "*** DONE ******************************************"