2003/02/28 04:22:49
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:56:05 +0000 (06:56 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:56:05 +0000 (06:56 +0000)
darcs-hash:20040130065605-2ba56-522ddf434187a9614fa8b032c2248b3b9997bcdc.gz

Makefile

index 1e8bf64..ad45441 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,7 @@ gcj                    := $(gcc_path)/bin/$(target)-gcj $(gcj_flags) $(gcc_flags
 gcc                    := $(gcc_path)/bin/$(target)-g++ $(gcc_flags)
 gcjh                   := $(gcc_path)/bin/$(target)-gcjh
 ar                     := $(gcc_path)/$(target)/bin/ar
+strip                  := $(gcc_path)/$(target)/bin/strip
 jikes                  := jikes -extdirs ${JAVA_HOME}/jre/lib -nowarn
 
 # platforms
@@ -188,11 +189,11 @@ dist-private:
        echo "copying xwt.jar to distribution area..."
        cp bin-Java2/xwt.jar /var/www/dist.xwt.org/xwt-$(current_build).jar.unsigned
 
-       echo "copying xwt.exe to distribution area..."
-       cp bin-Win32/xwt.exe /var/www/dist.xwt.org/xwt-$(current_build).exe.unsigned
+       echo "stripping xwt.exe and copying it to the distribution area..."
+       $(strip) bin-Win32/xwt.exe -o /var/www/dist.xwt.org/xwt-$(current_build).exe.unsigned
 
        echo "copying xwt.linux to distribution area..."
-       cp bin-Linux/xwt.linux /var/www/dist.xwt.org/xwt-$(current_build).linux.unsigned
+       $(strip) bin-Linux/xwt.linux -o /var/www/dist.xwt.org/xwt-$(current_build).linux.unsigned
 
        echo
        echo "*** DONE ******************************************"